forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd1a5b0
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 parentcbc0517 commitdd1a5b0
1 file changed
+4
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
517 | 517 |
| |
518 | 518 |
| |
519 | 519 |
| |
520 |
| - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
521 | 524 |
| |
522 | 525 |
| |
523 | 526 |
| |
|
0 commit comments
Comments
(0)