Re: patch (for 9.1) string functions - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: patch (for 9.1) string functions
Date
Msg-id AANLkTikdZ+30dBYPpbbOQ6e9O+YEg-zQKQXkFwGvWzW2@mail.gmail.com
Whole thread Raw
In response to Re: patch (for 9.1) string functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: patch (for 9.1) string functions  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: More vacuum stats
Next
From: Tom Lane
Date:
Subject: Re: More vacuum stats