- Notifications
You must be signed in to change notification settings - Fork28
Commit32ebb35
committed
Fix logical replication's ideas about which type OIDs are built-in.
Only hand-assigned type OIDs should be presumed to match across differentPG servers; those assigned during genbki.pl or during initdb are likelyto change due to addition or removal of unrelated objects.This means that the cutoff should be FirstGenbkiObjectId (in HEAD)or FirstBootstrapObjectId (before that), not FirstNormalObjectId.Compare postgres_fdw's is_builtin() test.It's likely that this error has no observable consequence in anormally-functioning system, since ATM the only affected type OIDs aresystem catalog rowtypes and information_schema types, which would nottypically be interesting for logical replication. But you couldprobably break it if you tried hard, so back-patch.Discussion:https://postgr.es/m/15150.1557257111@sss.pgh.pa.us1 parente34ee99 commit32ebb35
2 files changed
+8
-4
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
428 |
| - | |
| 428 | + | |
429 | 429 |
| |
430 | 430 |
| |
431 | 431 |
| |
|
Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
269 | 269 |
| |
270 | 270 |
| |
271 | 271 |
| |
272 |
| - | |
273 |
| - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
274 | 278 |
| |
275 | 279 |
| |
276 | 280 |
| |
| |||
279 | 283 |
| |
280 | 284 |
| |
281 | 285 |
| |
282 |
| - | |
| 286 | + | |
283 | 287 |
| |
284 | 288 |
| |
285 | 289 |
| |
|
0 commit comments
Comments
(0)