From: | Daniel Grob <dgrob(at)gmx(dot)net> |
---|---|
To: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: rules over multiple tables |
Date: | 2002-03-22 14:17:42 |
Message-ID: | 23927.1016806662@www53.gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hi all,
I'm now upgrading to Version 7.2.
Here's already the Syntax that dosn't work:
create function
delete_irgendwas_function
(int4,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,text,text,text,text,text,text,text,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,varchar,int4,varchar,date,time,varchar,varchar,text,varchar,varchar,int4,varchar,int4,varchar,varchar,varchar,varchar,varchar,varchar,varchar,date,varchar)
returns boolean as '
declare
"ID_ADDR" alias for $1;
"COMPANY" alias for $2;
...
"SIGN" alias for $65;
begin
delete from "ADDRESSES"
where "ID_ADDR" = f_"ID_ADDR" AND "COMPANY" = f_"COMPANY" ...;
delete from "CONTACTS"
where "ID" = f_"ID" AND "C_CATEGORY" = f_"C_CATEGORY" ...;
return 1;
END;'
LANGUAGE 'internal';
ERROR: Procedures cannot take more than 16 arguments
I tried to change MAX_ARGS in /src/include/config.h.in but it dosn't work
(compilation failed, unknown attribute).
Has anyone another Idea how to delete (and update) over two tables?
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-03-22 15:32:35 | Re: rules over multiple tables |
Previous Message | Al-Haddad, Mohammad J | 2002-03-22 12:32:50 | configuration |