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

Hi,

The last example from http://www.postgresql.org/docs/9.3/static/functions-string.html#FUNCTIONS-STRING-FORMAT - "examples using width fields and the - flag" seems to be incorrect, see the attached patch.

Regards,

r.
--- doc/src/sgml/func.sgml.orig	2013-09-14 10:02:56.000000000 +0200
+++ doc/src/sgml/func.sgml	2013-09-14 10:03:25.000000000 +0200
@@ -3021,7 +3021,7 @@
 <lineannotation>Result: </><computeroutput>|foo       |</>
 
 SELECT format('|%-*s|', -10, 'foo');
-<lineannotation>Result: </><computeroutput>|foo       |</>
+<lineannotation>Result: </><computeroutput>|       foo|</>
 </screen>
     </para>
 
-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to