Tom Lane writes:
> I don't see any clear statement in SQL92 that <delimited identifiers>
> can't have zero length, so I'm not convinced there's anything wrong here.
Hmm, I do:
<delimited identifier> ::= <double quote> <delimited identifier body> <double quote>
<delimitedidentifier body> ::= <delimited identifier part>... <delimited identifier part> ::=
<nondoublequotecharacter> | <doublequote symbol>
As opposed to, say, an empty character string literal:
<character string literal> ::= [ <introducer><character set specification> ] <quote> [
<characterrepresentation>... ] <quote> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ {
<separator>...<quote> [ <character representation>... ] <quote> }... ]
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/