Re: string function - "format" function proposal

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: string function - "format" function proposal
Дата
Msg-id AANLkTikY7kyidk3e3PGkY-VcST6Su3=Wsne97FqxrQXk@mail.gmail.com
обсуждение исходный текст
Ответ на Re: string function - "format" function proposal  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Ответы Re: string function - "format" function proposal  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
2010/9/6 Itagaki Takahiro <itagaki.takahiro@gmail.com>:
> On Mon, Sep 6, 2010 at 11:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> So?  You'd need to quote the values anyway, in general.  If you want
>> something that will be valid SQL you'd better include the functionality
>> of quote_literal() in it.
>>
>> I'm not sure that it's a good idea to have any type-specific special
>> cases.
>
> As I remember, the original motivation of %v formatter is
> some DBMSes don't like quoted numeric literals. However,
> Postgres accepts quoted numerics, and we're developing Postgres.
>
> So, our consensus would be %v formatter should be removed
> completely from the format function.
>

I think so tag that quotes all without numbers can be very useful, but
it isn't too much important for me. I can live without them.

Regards

Pavel

> --
> Itagaki Takahiro
>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: git: uh-oh
Следующее
От: Michael Haggerty
Дата:
Сообщение: Re: git: uh-oh