Re: dollar quoting nits - Mailing list pgsql-hackers

From Tom Lane
Subject Re: dollar quoting nits
Date
Msg-id 22787.1077639390@sss.pgh.pa.us
Whole thread Raw
In response to dollar quoting nits  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 1. Is there any reason to exclude underscore as the first char of a 
> dollar quoting delimiter (after the $), e.g. $_foo_$? I'm happy either 
> way, just want to be as liberal as is reasonable.

I think we had agreed to "same rules as identifiers, except for $".

> 2. David Fetter asked me the other day if there was any limit on the 
> length of the foo inside the $foo$. I glibly told him that I thought 
> that we should treat it the same as identifiers, but I have pretty much 
> convinced myself that this is wrong.

I agree, there is no reason to truncate.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jonathan M. Gardner"
Date:
Subject: Materialized View Summary
Next
From: Richard Huxton
Date:
Subject: Re: [SQL] Materialized View Summary