forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbbd7ed
committed
Doc: adjust examples of EXTRACT() output to match current reality.
EXTRACT(EPOCH), EXTRACT(SECOND), and some related cases print moretrailing zeroes than they used to. This behavior change happenedwith commita2da77c (Change return type of EXTRACT to numeric),and it was intentional according to the commit log: - Return values when extracting fields with possibly fractional values, such as second and epoch, now have the full scale that the value has internally (so, for example, '1.000000' instead of just '1').It's been like that for two releases now, so while I suggestedchanging this back, it's probably better to adjust the documentationexamples.Per bug #17866 from Евгений Жужнев. Back-patch to v14 where thechange came in.Discussion:https://postgr.es/m/17866-18eb70095b1594e2@postgresql.org1 parent26f36fe commitfbbd7ed
1 file changed
+8
-8
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9914 | 9914 |
| |
9915 | 9915 |
| |
9916 | 9916 |
| |
9917 |
| - | |
| 9917 | + | |
9918 | 9918 |
| |
9919 | 9919 |
| |
9920 | 9920 |
| |
9921 |
| - | |
| 9921 | + | |
9922 | 9922 |
| |
9923 | 9923 |
| |
9924 | 9924 |
| |
| |||
10064 | 10064 |
| |
10065 | 10065 |
| |
10066 | 10066 |
| |
10067 |
| - | |
| 10067 | + | |
10068 | 10068 |
| |
10069 | 10069 |
| |
10070 |
| - | |
| 10070 | + | |
10071 | 10071 |
| |
10072 | 10072 |
| |
10073 |
| - | |
| 10073 | + | |
10074 | 10074 |
| |
10075 | 10075 |
| |
10076 | 10076 |
| |
| |||
10217 | 10217 |
| |
10218 | 10218 |
| |
10219 | 10219 |
| |
10220 |
| - | |
| 10220 | + | |
10221 | 10221 |
| |
10222 | 10222 |
| |
10223 | 10223 |
| |
| |||
10281 | 10281 |
| |
10282 | 10282 |
| |
10283 | 10283 |
| |
10284 |
| - | |
| 10284 | + | |
10285 | 10285 |
| |
10286 | 10286 |
| |
10287 |
| - | |
| 10287 | + | |
10288 | 10288 |
| |
10289 | 10289 |
| |
10290 | 10290 |
| |
|
0 commit comments
Comments
(0)