Skip site navigation (1) Skip section navigation (2)

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: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: quoting psql varible as identifier
Date: 2009-12-29 18:49:13
Message-ID: 51835CD8-6274-458E-96B2-25438F7382D3@gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Dec 29, 2009, at 8:57 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>  
wrote:

> Hello
>
> I am working on new patch. I see a problem with copy quote_ident on
> client side. This function call ScanKeywordLookup function.
>
>                const ScanKeyword *keyword = ScanKeywordLookup(ident,
>
>                                    ScanKeywords,
>
>                                    NumScanKeywords);
>
> so we cannot simply implement quote_ident on client side :(. So we
> have to use a real query.
>
> It is acceptable for you?

No. It has to be client-side.

...Robert

In response to

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2009-12-29 18:53:32
Subject: Re: quoting psql varible as identifier
Previous:From: Jeff DavisDate: 2009-12-29 18:40:13
Subject: Re: Serializable implementation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group