Index: openacs-4/packages/survey/sql/postgresql/survey-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/survey/sql/postgresql/survey-create.sql,v
diff -u -r1.2.2.3 -r1.2.2.4
--- openacs-4/packages/survey/sql/postgresql/survey-create.sql	23 Oct 2002 19:30:51 -0000	1.2.2.3
+++ openacs-4/packages/survey/sql/postgresql/survey-create.sql	26 Oct 2002 11:29:31 -0000	1.2.2.4
@@ -415,9 +415,9 @@
 returns integer as '
 declare
   remove__section_id             alias for $1;
-  v_section_row         	 survey_questions%ROWTYPE;
+  v_question_row         	 survey_questions%ROWTYPE;
 begin
-    for v_section_row in select question_id
+    for v_question_row in select question_id
 		from survey_questions
 		where section_id=remove__section_id
     loop
