Index: openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl 14 Dec 2001 03:00:04 -0000 1.3 +++ openacs-4/packages/acs-bootstrap-installer/db-init-checks-postgresql.tcl 5 Sep 2002 05:54:45 -0000 1.4 @@ -45,6 +45,10 @@ set my_error_p 1 } + + ## Make sure the function is dropped + catch { ns_db dml $db "drop function __test__();" } + if { [catch { ns_db dml $db "create function __test__() returns integer as 'begin end;' language 'plpgsql'" } errmsg] } { append my_errors "
  • PL/pgSQL has not been created in your database. Execute the following command while logged in as a PostgreSQL \"superuser\":
    createlang plpgsql your_database_name
    \n" set my_error_p 1