Skip to content

Commit 38c6b19

Browse files
committed
Docs: fix claim that to_char('FM') removes trailing zeroes.
Of course, what it removes is leading zeroes. Seems to have been a thinko in commit ffe92d1. Noted by Hubert Depesz Lubaczewski.
1 parent d8f9ab7 commit 38c6b19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5715,7 +5715,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
57155715
<tbody>
57165716
<row>
57175717
<entry><literal>FM</literal> prefix</entry>
5718-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
5718+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
57195719
<entry><literal>FMMonth</literal></entry>
57205720
</row>
57215721
<row>
@@ -6116,7 +6116,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
61166116
<tbody>
61176117
<row>
61186118
<entry><literal>FM</literal> prefix</entry>
6119-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
6119+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
61206120
<entry><literal>FM9999</literal></entry>
61216121
</row>
61226122
<row>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy