Re: patch (for 9.1) string functions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: patch (for 9.1) string functions
Дата
Msg-id AANLkTikdZ+30dBYPpbbOQ6e9O+YEg-zQKQXkFwGvWzW2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: patch (for 9.1) string functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: patch (for 9.1) string functions  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Список pgsql-hackers
2010/8/23 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> ... The formating
>> enhancing should be shared with RAISE NOTICE command.
>
> I remain of the opinion that RAISE's approach to formatting is
> completely broken and inextensible, and that any attempt to be somehow
> compatible with it is going to lead to an unusably broken design.
> You should leave RAISE alone and just think about printf.
>

ok - then we don't need modify proposed patch. "Format" function is
enough for PL/pgSQL and other PL languages has own mutation of this
functions. There are not barrier for implementation as custom
function, so we can hold this function most simple.

Regards

Pavel


>                        regards, tom lane
>


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: More vacuum stats
Следующее
От: Tom Lane
Дата:
Сообщение: Re: More vacuum stats