diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-06-25 10:44:03 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-06-25 10:44:48 -0400 |
commit | 7e5859cbc26bc90911ecf3db394cecfcd9da953b (patch) | |
tree | da288b7a6a2a44055934a7ce226fd8394fd3dc28 | |
parent | 67306858866359397a5058d1b7054f53426cf165 (diff) |
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 ffe92d15d53625d5ae0c23f4e1984ed43614a33d. Noted by Hubert Depesz
Lubaczewski.
-rw-r--r-- | doc/src/sgml/func.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 9a2a1f60657..c368f9f477e 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -5694,7 +5694,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> @@ -6081,7 +6081,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> |