Re: quoting psql varible as identifier - Mailing list pgsql-hackers

From Tom Lane
Subject Re: quoting psql varible as identifier
Date
Msg-id 27426.1262111781@sss.pgh.pa.us
Whole thread Raw
In response to quoting psql varible as identifier  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: quoting psql varible as identifier  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> so we cannot simply implement quote_ident on client side :(. So we
> have to use a real query.

> It is acceptable for you?

No, certainly not --- that adds a boatload of failure conditions.
Just quote it unconditionally.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb)
Next
From: Jeff Davis
Date:
Subject: Re: Serializable implementation