Re: info about patch: using parametrised query in psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: info about patch: using parametrised query in psql
Date
Msg-id 7884.1261766466@sss.pgh.pa.us
Whole thread Raw
In response to Re: info about patch: using parametrised query in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: info about patch: using parametrised query in psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: info about patch: using parametrised query in psql  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.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


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: ORDER BY clause in aggregate doesn't work well with multi argument aggregates
Next
From: Tom Lane
Date:
Subject: Re: ORDER BY clause in aggregate doesn't work well with multi argument aggregates