pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rudolf <stu3.1@eq.cz>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: pgsql-docs <pgsql-docs@postgresql.org>
Subject: Re: "format" function documentation fix
Date: Fri, 20 Sep 2013 10:05:02 +0200
Message-ID: <523C01AE.5020306@eq.cz> (raw)
In-Reply-To: <CAFj8pRD3cR3qEb_2gQ2T20DThP7w8SFwxyBmT91SxSHbAG_SVA@mail.gmail.com>
References: <52341E55.5020106@eq.cz>
	<CAEZATCWTBwgMA-Nr1UL=r06Zc0n27n2dnRiK1P-Ontc=B=OFVw@mail.gmail.com>
	<52381A40.9080900@eq.cz>
	<CAFj8pRD3cR3qEb_2gQ2T20DThP7w8SFwxyBmT91SxSHbAG_SVA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.



-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (6+ messages)

Message-ID: <523C01AE.5020306@eq.cz>
Permalink:  ../523C01AE.5020306@eq.cz/
Also on:    postgresql.org/message-id/523C01AE.5020306@eq.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: stu3.1@eq.cz, pavel.stehule@gmail.com, dean.a.rasheed@gmail.com
  Subject: Re: "format" function documentation fix
  In-Reply-To: <523C01AE.5020306@eq.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox