Index: openacs-4/packages/simple-survey/sql/postgresql/survsimp-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simple-survey/sql/postgresql/Attic/survsimp-create.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/simple-survey/sql/postgresql/survsimp-create.sql 2 Jul 2001 21:50:23 -0000 1.2 +++ openacs-4/packages/simple-survey/sql/postgresql/survsimp-create.sql 9 Jul 2001 19:22:37 -0000 1.3 @@ -15,21 +15,22 @@ -- this is a PL/SQL function that used to be in the standard ACS 3.x core - not in the -- current ACS 4.0 core however... -create function logical_negation(boolean) -returns boolean as ' -declare - true_or_false alias for $1; -begin - if true_or_false is null then - return null; - else - if true_or_false = ''f'' then - return ''t''; - else - return ''f''; - end if; - end if; -end;' language 'plpgsql'; +-- gilbertw - logical_negation is defined in utilities-create.sql in acs-kernel +-- create function logical_negation(boolean) +-- returns boolean as ' +-- declare +-- true_or_false alias for $1; +-- begin +-- if true_or_false is null then +-- return null; +-- else +-- if true_or_false = ''f'' then +-- return ''t''; +-- else +-- return ''f''; +-- end if; +-- end if; +-- end;' language 'plpgsql'; create function inline_0 () returns integer as ' Index: openacs-4/packages/simple-survey/sql/postgresql/survsimp-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simple-survey/sql/postgresql/Attic/survsimp-drop.sql,v diff -u -r1.1 -r1.2 --- openacs-4/packages/simple-survey/sql/postgresql/survsimp-drop.sql 15 Jun 2001 01:06:39 -0000 1.1 +++ openacs-4/packages/simple-survey/sql/postgresql/survsimp-drop.sql 9 Jul 2001 19:22:37 -0000 1.2 @@ -67,6 +67,7 @@ select inline_0 (); drop function inline_0 (); -drop function logical_negation(boolean); +-- gilbertw - logical_negation is defined in utilities-create.sql in acs-kernel +-- drop function logical_negation(boolean);