summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-06-25 10:44:03 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-06-25 10:44:40 -0400
commit38c6b19415f107bede50e956f9cedc6e0dfca14a (patch)
tree30d1497cb2dab4b5c757fd2e1ca2465ed9a32d15 /doc/src
parentd8f9ab776c579cbc886840795cd51fab5a3c2d8a (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.sgml4
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>