forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdb1531c
committed
Be more careful about time_t vs. pg_time_t in basebackup.c.
lapwing is complaining that about a call to pg_gmtime, saying thatit "expected 'const pg_time_t *' but argument is of type 'time_t *'".I at first thought that the problem had someting to do with const,but Thomas Munro suggested that it might be just because time_tand pg_time_t are different identifers. lapwing is i686 rather thanx86_64, and pg_time_t is always int64, so that seems like a goodguess.There is other code that just casts time_t to pg_time_t withoutany conversion function, so try that approach here.Introduced in commit0d8c9c1.1 parent9f8f881 commitdb1531c
1 file changed
+6
-4
lines changedLines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
| 102 | + | |
| 103 | + | |
103 | 104 |
| |
104 | 105 |
| |
105 | 106 |
| |
| |||
1124 | 1125 |
| |
1125 | 1126 |
| |
1126 | 1127 |
| |
1127 |
| - | |
| 1128 | + | |
1128 | 1129 |
| |
1129 | 1130 |
| |
1130 | 1131 |
| |
| |||
1507 | 1508 |
| |
1508 | 1509 |
| |
1509 | 1510 |
| |
1510 |
| - | |
| 1511 | + | |
| 1512 | + | |
1511 | 1513 |
| |
1512 | 1514 |
| |
1513 | 1515 |
| |
| |||
2188 | 2190 |
| |
2189 | 2191 |
| |
2190 | 2192 |
| |
2191 |
| - | |
| 2193 | + | |
2192 | 2194 |
| |
2193 | 2195 |
| |
2194 | 2196 |
| |
|
0 commit comments
Comments
(0)