forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit259bbe1
committed
Fix base backup with database OIDs larger than INT32_MAX
The use of pg_atoi() for parsing a string into an Oid fails for valueslarger than INT32_MAX, since OIDs are unsigned. Instead, useatooid(). While this has less error checking, the contents of thedata directory are expected to be trustworthy, so we don't need to goout of our way to do full error checking.Discussion:https://www.postgresql.org/message-id/flat/dea47fc8-6c89-a2b1-07e3-754ff1ab094b%402ndquadrant.com1 parent23d0dfa commit259bbe1
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1291 | 1291 |
| |
1292 | 1292 |
| |
1293 | 1293 |
| |
1294 |
| - | |
| 1294 | + | |
1295 | 1295 |
| |
1296 | 1296 |
| |
1297 | 1297 |
| |
|
0 commit comments
Comments
(0)