Index: openacs-4/packages/forums/tcl/forums-callback-procs-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/Attic/forums-callback-procs-oracle.xql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/forums/tcl/forums-callback-procs-oracle.xql 28 Jan 2006 15:39:03 -0000 1.1
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+ oracle8.1.6
+
+
+
+ select site_node.url(min(node_id))
+ from site_nodes
+ where object_id = (select package_id
+ from forums_forums
+ where forums_forums.forum_id = :forum_id)
+
+
+
+
+
+ select site_node.url(min(node_id))
+ from site_nodes
+ where object_id = (select package_id
+ from forums_forums
+ where forums_forums.forum_id = :forum_id)
+
+
+
+
+
+ select subject, content, format
+ from forums_messages
+ where message_id=:message_id
+-- lets just get the message instead of the whole thread
+-- replace with a connect by
+
+
+
+
Index: openacs-4/packages/forums/tcl/forums-callback-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/Attic/forums-callback-procs-postgresql.xql,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/forums/tcl/forums-callback-procs-postgresql.xql 28 Jan 2006 15:39:03 -0000 1.1
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+ postgresql7.4
+
+
+
+ select site_node__url(min(node_id))
+ from site_nodes
+ where object_id = (select package_id
+ from forums_forums
+ where forums_forums.forum_id = :forum_id)
+
+
+
+
+
+ select site_node__url(min(node_id))
+ from site_nodes
+ where object_id = (select package_id
+ from forums_forums
+ where forums_forums.forum_id = :forum_id)
+
+
+
+
+
+ select subject, content, format
+ from forums_messages
+ where message_id=:message_id
+-- lets just get the message instead of the whole thread
+-- replace with a connect by
+
+
+
+