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

Commit d759b7e

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 0b157a0 commit d759b7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5731,7 +5731,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
57315731
<tbody>
57325732
<row>
57335733
<entry><literal>FM</literal> prefix</entry>
5734-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
5734+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
57355735
<entry><literal>FMMonth</literal></entry>
57365736
</row>
57375737
<row>
@@ -6134,7 +6134,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
61346134
<tbody>
61356135
<row>
61366136
<entry><literal>FM</literal> prefix</entry>
6137-
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
6137+
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
61386138
<entry><literal>FM9999</literal></entry>
61396139
</row>
61406140
<row>

0 commit comments

Comments
 (0)