Re: Why format() adds double quote?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
Cc: "Tatsuo Ishii" <ishii(at)postgresql(dot)org>, listas(at)guedesoft(dot)net, robertmhaas(at)gmail(dot)com, pavel(dot)stehule(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why format() adds double quote?
Date: 2016-01-27 16:54:25
Message-ID: 822.1453913665@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Daniel Verite" <daniel(at)manitou-mail(dot)org> writes:
> This boils down to the fact that the current quote_ident gives:

> =# select quote_ident('testtable');
> quote_ident
> --------------
> "testtable"

> whereas the quote_ident patched as proposed gives:

> =# select quote_ident('testtable');
> quote_ident
> -------------
> testtable

> So this is what I don't feel good about.

This patch was originally proposed as a simple, cost-free change,
but it's becoming obvious that it is no such thing. I think
we should probably reject it and move on.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2016-01-27 16:56:28 Re: Sequence Access Method WIP
Previous Message Igal @ Lucee.org 2016-01-27 16:46:47 Re: Implementing a new Scripting Language