From: Bricklen Anderson <BAnderson@PresiNET.com>
To: Jaime Casanova <systemguards@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Tigger
Date: Fri, 22 Jul 2005 12:35:18 -0700
Message-ID: <42E14A76.9050805@PresiNET.com> (raw)
In-Reply-To: <c2d9e70e05072212331a7aa6bd@mail.gmail.com>
References: <BAY105-F13ED683B496DCE39673E6FBBC90@phx.gbl>
<42E14655.4090106@PresiNET.com>
<c2d9e70e05072212331a7aa6bd@mail.gmail.com>
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.
_______________________________
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: BAnderson@PresiNET.com, systemguards@gmail.com
Subject: Re: Tigger
In-Reply-To: <42E14A76.9050805@PresiNET.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox