Re: string function - "format" function proposal - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: string function - "format" function proposal
Date
Msg-id AANLkTi=fnttO4dGsjHWJd7V5YMPpBuqahO0gFmTx4b4q@mail.gmail.com
Whole thread Raw
In response to Re: string function - "format" function proposal  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Thu, Oct 14, 2010 at 10:23 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Sep 29, 2010 at 3:59 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> [ updated patch, in response to a review from Itagaki Takahiro ]
>
> This patch appears to be waiting for a second round of review.
> Itagaki-san, are you planning to do that?

I can, but I was waiting for other people's comments about the design: - format() in core, that implements %s, %i, and
%l.- substitute() for $n format and sprintf() that partially implements   the same function in C in
contrib/stringfunc.

I don't like having three similar functions for the same purpose,
but Pavel said they are the best solutions. What will be our consensus?

-- 
Itagaki Takahiro


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Issues with Quorum Commit
Next
From: Pavel Golub
Date:
Subject: Re: Why do we have a database specification in .pgpass?