forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit91e7c90
committed
Fix internal extract(timezone_minute) formulas
Through various refactorings over time, the extract(timezone_minutefrom time with time zone) and extract(timezone_minute from timestampwith time zone) implementations ended up with two different butequally nonsensical formulas by using SECS_PER_MINUTE andMINS_PER_HOUR interchangeably. Since those two are of course both thesame number, the formulas do work, but for readability, fix them to besemantically correct.1 parentdde1a35 commit91e7c90
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2726 | 2726 |
| |
2727 | 2727 |
| |
2728 | 2728 |
| |
2729 |
| - | |
| 2729 | + | |
2730 | 2730 |
| |
2731 | 2731 |
| |
2732 | 2732 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4844 | 4844 |
| |
4845 | 4845 |
| |
4846 | 4846 |
| |
4847 |
| - | |
| 4847 | + | |
4848 | 4848 |
| |
4849 | 4849 |
| |
4850 | 4850 |
| |
|
0 commit comments
Comments
(0)