Re: From select to delete

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: From select to delete
Дата
Msg-id 8540181D-C30D-453E-96B1-FC835998CC74@gmail.com
обсуждение исходный текст
Ответ на Re: From select to delete  (Alexander Farber <alexander.farber@gmail.com>)
Ответы Re: From select to delete
Список pgsql-general
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.


В списке pgsql-general по дате отправления:

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: From select to delete
Следующее
От: Alexander Farber
Дата:
Сообщение: Re: From select to delete