Re: quoting psql varible as identifier

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: quoting psql varible as identifier
Date: 2010-01-19 18:32:02
Message-ID: 603c8f071001191032k34b05d85nca5c4001eebe8983@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 19, 2010 at 12:54 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

Attachment Content-Type Size
PQescapeIdentifierConn-v2.patch text/x-patch 17.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2010-01-19 18:40:54 Re: ECPG patch 4.1, out-of-scope cursor support in native mode
Previous Message Kevin Grittner 2010-01-19 18:28:21 Re: Git out of sync vs. CVS