Re: quoting psql varible as identifier
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-01-19T18:32:02Z
Lists: pgsql-hackers
Attachments
- PQescapeIdentifierConn-v2.patch (text/x-patch) patch v2
On Tue, Jan 19, 2010 at 12:54 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote: >> I think what you're saying is that you agree with Tom's position that >> the new escaping function should not add the necessary surrounding >> quotes, instead leaving that to the user. Is that correct? > > yes Updated patch attached. I still think this is a bizarre API. ...Robert