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