Re: Fwd: [HACKERS] polite request about syntax

2006-09-15 Thread Alvaro Herrera
Ricardo Malafaia wrote: > On 9/15/06, Douglas McNaught <[EMAIL PROTECTED]> wrote: > >> What happens then when it sees something like a double variable > >> interpolation as in $$foobar? ;) > > > >Then you use $FOO$ (or something else that doesn't appear in your > >code) as the delimiter--you're not

Re: Fwd: [HACKERS] polite request about syntax

2006-09-15 Thread Andrew Dunstan
Ricardo Malafaia wrote: And the $$ is indeed needed for allowing languages with different syntaxes. agreed. However, Tom, i could counter example your plperl example: realize that qq/end/ does not represent a matching "end"? What happens then when it sees something like a double variable i

Re: Fwd: [HACKERS] polite request about syntax

2006-09-15 Thread Ricardo Malafaia
On 9/15/06, Douglas McNaught <[EMAIL PROTECTED]> wrote: > What happens then when it sees something like a double variable > interpolation as in $$foobar? ;) Then you use $FOO$ (or something else that doesn't appear in your code) as the delimiter--you're not limited to just $$. clever. still,

Re: Fwd: [HACKERS] polite request about syntax

2006-09-15 Thread Douglas McNaught
"Ricardo Malafaia" <[EMAIL PROTECTED]> writes: > What happens then when it sees something like a double variable > interpolation as in $$foobar? ;) Then you use $FOO$ (or something else that doesn't appear in your code) as the delimiter--you're not limited to just $$. -Doug

Fwd: [HACKERS] polite request about syntax

2006-09-15 Thread Ricardo Malafaia
-- Forwarded message -- From: Ricardo Malafaia <[EMAIL PROTECTED]> Date: Sep 15, 2006 1:28 PM Subject: Re: [HACKERS] polite request about syntax To: Tom Lane <[EMAIL PROTECTED]> ok, guys. i guess i was a bit unfair. Timestamp is used everywhere indeed, Oracle, Firebird you name