Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: proposal: a width specification for s specifier (format function), fix behave when positional and ordered placeholders are used
Date: 2013-02-11 14:29:23
Message-ID: CAFj8pRCDOjf6=GqVHFUdHYQkh+7cjR7vj5jShk3ArKmM0FprxA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

updated patch

* merged Dean's doc
* allow NULL as width

Regards

Pavel

2013/2/11 Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>:
> On 10 February 2013 12:37, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> >>
> Here is my first draft. I've also attached the generated HTML page,
>>> because it's not so easy to read an SGML patch.
>>>
>>
>> nice
>>
>> I have only one point - I am think, so format function should be in
>> table 9-6 - some small text with reference to special section.
>>
>
> It is already there in table 9-6, referring to the new section.
>
> Here is a minor update though -- I changed the name of the first
> optional argument from "str" to "formatarg", since they are no longer
> necessarily strings.
>
> Regards,
> Dean

Attachment Content-Type Size
format-width-20130211.patch application/octet-stream 27.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-02-11 14:32:02 Re: Improving pgbench to log index creation time etc.
Previous Message Boszormenyi Zoltan 2013-02-11 14:27:23 Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]