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:03 -0400
commitd759b7eb6aee12bd52516905d790072845b4356f (patch)
treea928a46993298e567e99b7c99ad5ba3aca706f3f /doc/src
parent0b157a0dad4f88f6f4420faa4cddab1e5112988f (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 ae9dba2446b..80b551e78c7 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -5731,7 +5731,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>
@@ -6134,7 +6134,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>