forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit89dba59
committed
Fix actively-misleading comments about the contents of struct pg_tm.
pgtime.h documented the PG interpretation of tm_mon right alongsidethe POSIX interpretation of tm_year, with no hint that neithercomment was correct throughout our code.Perhaps someday we ought to switch to using two separate structdefinitions to provide a clearer indication of which semantics arein use where. But I fear the tedium-versus-safety-gain tradeoffwould not be very good.Discussion:https://postgr.es/m/CAJ7c6TOMG8zSNEZtCn5SPe+cCk3Lfxb71ZaQwT2F4T7PJ_t=KA@mail.gmail.com1 parent388e71a commit89dba59
1 file changed
+9
-2
lines changedLines changed: 9 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 |
| |
26 | 33 |
| |
27 | 34 |
| |
28 | 35 |
| |
29 | 36 |
| |
30 | 37 |
| |
31 |
| - | |
32 |
| - | |
| 38 | + | |
| 39 | + | |
33 | 40 |
| |
34 | 41 |
| |
35 | 42 |
| |
|
0 commit comments
Comments
(0)