Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Note that there is no particular need to insist on any nearby newlines.
>> If the construct is written just following an identifier or keyword,
>> then you do need some intervening whitespace to keep the $Q$ from being
>> read as part of that identifier, but I doubt this will bother anyone.
>>
>> Note that I'm allowing only letters, not digits, in the string; this
>> avoids any possible ambiguity with $n parameter tokens. We have no
>> other SQL tokens that are allowed to start with $, so this creates no
>> other lexical ambiguity.
> Sounds interesting. So it is $$text$$ or $quote$text$quote$?
Either would work, yes.
regards, tom lane