On 28 Oct 2011, at 19:40, Alexander Farber wrote: > For now I'm trying to finish my 1st approach > (without "on delete cascade") and the following > strangely fails with > > ERROR: syntax error at "temp" > DETAIL: Expected record variable, row variable, or list of scalar > variables following INTO. > CONTEXT: compilation of PL/pgSQL function "pref_delete_user" near line 3
SELECT INTO in PL/pgSQL isn't the same command as SELECT INTO in SQL. Check the documentation for the two ;) Alban Hertroys -- Screwing up is an excellent way to attach something to the ceiling. -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general