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:40 -0400 |
| commit | 38c6b19415f107bede50e956f9cedc6e0dfca14a (patch) | |
| tree | 30d1497cb2dab4b5c757fd2e1ca2465ed9a32d15 /doc/src | |
| parent | d8f9ab776c579cbc886840795cd51fab5a3c2d8a (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.
Diffstat (limited to 'doc/src')
| -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 6d4f331a647..780872f7a10 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -5715,7 +5715,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> @@ -6116,7 +6116,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> |
