Search Postgresql Archives

Re: From select to delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux