forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a7512b
committed
Don't allow foreign tables with OIDs.
The syntax doesn't let you specify "WITH OIDS" for foreign tables, but itwas still possible with default_with_oids=true. But the rest of the system,including pg_dump, isn't prepared to handle foreign tables with OIDsproperly.Backpatch down to 9.1, where foreign tables were introduced. It's possiblethat there are databases out there that already have foreign tables withOIDs. There isn't much we can do about that, but at least we can preventthem from being created in the future.Patch by Etsuro Fujita, reviewed by Hadi Moshayedi.1 parent33b0548 commit2a7512b
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
561 | 561 |
| |
562 | 562 |
| |
563 | 563 |
| |
564 |
| - | |
565 |
| - | |
| 564 | + | |
566 | 565 |
| |
567 | 566 |
| |
568 | 567 |
| |
|
0 commit comments
Comments
(0)