mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-19 20:00:51 +08:00
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.
This commit is contained in:
parent
6730685886
commit
7e5859cbc2
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user