Re: Tigger

Поиск
Список
Период
Сортировка
От Bricklen Anderson
Тема Re: Tigger
Дата
Msg-id 42E14A76.9050805@PresiNET.com
обсуждение исходный текст
Ответ на Re: Tigger  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-sql
Jaime Casanova wrote:
> This seems bad to me also:
> 
>>>CREATE FUNCTION session_update() RETURNS trigger AS $session_update$
>>>[..function body..]
>>>$session_update$ LANGUAGE plpgsql;
> 
> 
> I think it should be:
> CREATE FUNCTION session_update() RETURNS trigger AS $$
> [..function body..]
> $$ LANGUAGE plpgsql;
> 

No, the identifier between the $$ is legit, providing you're at v8 and above.


-- 
_______________________________

This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use or
copying of this e-mail or the information it contains by other than an
intended recipient is unauthorized. If you received this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.
_______________________________


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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Tigger
Следующее
От: "David Hofmann"
Дата:
Сообщение: Re: Tigger