Re: "format" function documentation fix

From: rudolf <stu3(dot)1(at)eq(dot)cz>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: "format" function documentation fix
Date: 2013-09-20 08:05:02
Message-ID: 523C01AE.5020306@eq.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

(Please CC me the reply, since I'm not subscribed to the list.)

Pavel Stehule wrote:
> 2013/9/17 rudolf
> Dean Rasheed wrote:
[...]
> This applies even if the "-" flag is also specified. So the last
> example is meant to illustrate that 2 minuses don't make a plus
> here.
>
> That's very unusual, IMO. This behavior follows some SQL standard or
> is it an invention of PostgreSQL?
>
> this is postgresql feature - standard doesn't support any similar
> functionality - and printf is some like developer Esperanto. We
> significantly reduced complexity of printf function and we modified
> basic rules for usage in SQL, but some very typical rules - like format
> placeholders, we share - we don't introduce own rules there.

Yes, as I already wrote to Dean (and forgot to cc the list), you are
right, the behavior is correct. Thanks for the explanation!

Kind regards,

r.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Marc Mamin 2013-10-11 08:37:55 misleading lang_name case in CREATE FUNCTION doc.
Previous Message Pavel Stehule 2013-09-18 19:46:48 Re: "format" function documentation fix