Skip to content
Snippets Groups Projects
Commit 03655d21 authored by Tom Lane's avatar Tom Lane
Browse files

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 ffe92d15.  Noted by Hubert Depesz
Lubaczewski.
parent e538e510
No related branches found
No related tags found
No related merge requests found
......@@ -5480,7 +5480,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<tbody>
<row>
<entry><literal>FM</literal> prefix</entry>
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
<entry><literal>FMMonth</literal></entry>
</row>
<row>
......@@ -5865,7 +5865,7 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<tbody>
<row>
<entry><literal>FM</literal> prefix</entry>
<entry>fill mode (suppress padding blanks and trailing zeroes)</entry>
<entry>fill mode (suppress leading zeroes and padding blanks)</entry>
<entry><literal>FM9999</literal></entry>
</row>
<row>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment