Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VLiPh-0003J9-TE for pgsql-docs@arkaria.postgresql.org; Mon, 16 Sep 2013 23:41:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VLiPh-0002xI-AL for pgsql-docs@arkaria.postgresql.org; Mon, 16 Sep 2013 23:41:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKlEI-00050t-9U for pgsql-docs@postgresql.org; Sat, 14 Sep 2013 08:29:22 +0000 Received: from smtp.cesky-hosting.cz ([2a00:1ed0:2:0:1:5bef:c8ee:1]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VKlEE-0005MM-IU for pgsql-docs@postgresql.org; Sat, 14 Sep 2013 08:29:21 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.cesky-hosting.cz (Postfix) with ESMTP id 43F70154E for ; Sat, 14 Sep 2013 10:29:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at smtp.cesky-hosting.cz Received: from smtp.cesky-hosting.cz ([127.0.0.1]) by localhost (smtp.cesky-hosting.cz [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id IXTPHFT9SVyR for ; Sat, 14 Sep 2013 10:29:15 +0200 (CEST) Received: from len.eq.cz (dsl-d04pool-002.cust.termsnet.cz [217.194.162.2]) (Authenticated sender: rudolf@thinline.cz) by smtp.cesky-hosting.cz (Postfix) with ESMTPSA for ; Sat, 14 Sep 2013 10:29:14 +0200 (CEST) Message-ID: <52341E55.5020106@eq.cz> Date: Sat, 14 Sep 2013 10:29:09 +0200 From: rudolf User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16 MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: "format" function documentation fix Content-Type: multipart/mixed; boundary="------------000308090009020306070007" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------000308090009020306070007 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit (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. --------------000308090009020306070007 Content-Type: text/x-patch; name="patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.diff" --- 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 @@ Result: |foo | SELECT format('|%-*s|', -10, 'foo'); -Result: |foo | +Result: | foo| --------------000308090009020306070007 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------000308090009020306070007--