projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f9ab7
)
Docs: fix claim that to_char('FM') removes trailing zeroes.
author
Tom Lane
Thu, 25 Jun 2015 14:44:03 +0000
(10:44 -0400)
committer
Tom Lane
Thu, 25 Jun 2015 14:44:40 +0000
(10:44 -0400)
Of course, what it removes is leading zeroes. Seems to have been a thinko
in commit
ffe92d15d53625d5ae0c23f4e1984ed43614a33d
. Noted by Hubert Depesz
Lubaczewski.
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 6d4f331a647fc569db652d578f12811fc8dab892..780872f7a1001d830bff197e208fb1f451add0e9 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-5715,7
+5715,7
@@
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
FM
prefix
-
fill mode (suppress
padding blanks and trailing zeroe
s)
+
fill mode (suppress
leading zeroes and padding blank
s)
FMMonth
@@
-6116,7
+6116,7
@@
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
FM
prefix
-
fill mode (suppress
padding blanks and trailing zeroe
s)
+
fill mode (suppress
leading zeroes and padding blank
s)
FM9999