Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7e5859c

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 6730685 commit 7e5859c

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
@@ -5694,7 +5694,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
56945694
<tbody>
56955695
<row>
56965696
<entry><literal>FM</literal> prefix</entry>
5697-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
5697+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
56985698
<entry><literal>FMMonth</literal></entry>
56995699
</row>
57005700
<row>
@@ -6081,7 +6081,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
60816081
<tbody>
60826082
<row>
60836083
<entry><literal>FM</literal> prefix</entry>
6084-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
6084+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
60856085
<entry><literal>FM9999</literal></entry>
60866086
</row>
60876087
<row>

0 commit comments

Comments
 (0)