Re: quoting psql varible as identifier

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-01-19T21:40:54Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I'd like to proceed by committing an initial patch which changes the
> "Escaping Strings for Inclusion in SQL Commands" to use a
> <variablelist> with one <varlistentry> per function (as we do in
> surrounding functions) and consolidates it with the following section,
>  "Escaping Binary Strings for Inclusion in SQL Commands".  Then I'll
> submit a patch implementing pqEscapeLiteral() and pqEscapeIdentifier()
> as discussed here, and the doc diff hunks will actually be readable.

Sounds like a plan.

			regards, tom lane