Index: openacs-4/contrib/packages/survey/tcl/survey-procs-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/survey/tcl/Attic/survey-procs-postgresql.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/packages/survey/tcl/survey-procs-postgresql.xql 12 Mar 2004 06:35:45 -0000 1.2
+++ openacs-4/contrib/packages/survey/tcl/survey-procs-postgresql.xql 13 Jan 2005 13:54:39 -0000 1.3
@@ -38,7 +38,7 @@
SELECT survey_question__new (
- NULL,
+ :new_question_id,
:section_id,
:new_sort_order,
:question_text,
@@ -53,7 +53,8 @@
:answer_description,
:predefined_question_id,
:user_id,
- :section_id
+ :section_id,
+ :new_question_id
);
@@ -84,7 +85,7 @@
select survey_section__new (
- NULL,
+ :new_section_id,
:new_survey_id,
:name,
:description,
@@ -95,7 +96,8 @@
:block_section_p,
:page_break_p,
:user_id,
- :package_id
+ :package_id,
+ :new_section_id
);
@@ -263,4 +265,30 @@
+
+
+
+ select survey_question__new (
+ :question_id,
+ :section_id,
+ :sort_order,
+ :question_text,
+ :abstract_data_type,
+ :required_p,
+ :active_p,
+ :presentation_type,
+ :presentation_options,
+ :presentation_alignment,
+ :question_html_p,
+ :summary_type,
+ :answer_description,
+ NULL,
+ :creation_user,
+ :section_id,
+ :pretty_id
+ )
+
+
+
+