Index: openacs-4/packages/download/sql/postgresql/download-packages.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/download/sql/postgresql/download-packages.sql,v diff -u -r1.6 -r1.6.4.1 --- openacs-4/packages/download/sql/postgresql/download-packages.sql 17 May 2003 10:28:58 -0000 1.6 +++ openacs-4/packages/download/sql/postgresql/download-packages.sql 2 Nov 2005 01:16:11 -0000 1.6.4.1 @@ -36,7 +36,7 @@ -- -set_metadata_value -- -downloaded_by -create function download_rep__new (integer,varchar,varchar,varchar,timestamptz,integer,integer,integer,varchar) +create or replace function download_rep__new (integer,varchar,varchar,varchar,timestamptz,integer,integer,integer,varchar) returns integer as ' declare new__repository_id alias for $1; @@ -87,7 +87,7 @@ end;' language 'plpgsql'; -create function download_rep__edit (integer,varchar,varchar,varchar,timestamptz,integer,varchar) +create or replace function download_rep__edit (integer,varchar,varchar,varchar,timestamptz,integer,varchar) returns integer as ' declare edit__repository_id alias for $1; @@ -131,7 +131,7 @@ -- where context_id = delete__repository_id; -create function download_rep__delete (integer) +create or replace function download_rep__delete (integer) returns integer as ' declare delete__repository_id alias for $1;