Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> there are two quoting styles, so we need two syntax. I proposed
> :[var] and :{var} - for ident quoting and literal quoting.
> Theoretically we could to use :(var) for bytea escaping.
And if you need a fourth style, you're at a dead end. I don't think
this is really an improvement over the single-flag-character approach.
Neither one has got any mnemonic value whatever, unfortunately, but
at least the flag character method is fairly extensible.
regards, tom lane