Re: patch (for 9.1) string functions

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-03-10T07:39:00Z
Lists: pgsql-hackers
2010/3/9 Merlin Moncure <mmoncure@gmail.com>:
> On Tue, Mar 9, 2010 at 1:45 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> updated version, concat function doesn't use separator
>
> btw...very cool stuff.  I took a brief look at the sprintf
> implementation.  The main switch:
> switch (pdesc.field_type)
>
> It looks like format codes we choose not to support (like %p) are
> silently ignored.  Is this the correct behavior?

it could be enhanced. sprintf is little bit baroque function and I am
not able to take all details. Please, add comment with proposals for
change.

Pavel

>
> merlin
>