forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit66abc26
committed
Add a new reloption, user_catalog_table.
When this reloption is set and wal_level=logical is configured,we'll record the CIDs stamped by inserts, updates, and deletes tothe table just as we would for an actual catalog table. This willallow logical decoding to use historical MVCC snapshots to accesssuch tables just as they access ordinary catalog tables.Replication solutions built around the logical decoding machinerywill likely need to set this operation for their configurationtables; it might also be needed by extensions which perform tableaccess in their output functions.Andres Freund, reviewed by myself and others.1 parente55704d commit66abc26
File tree
3 files changed
+30
-2
lines changed- src
- backend
- access/common
- commands
- include/utils
3 files changed
+30
-2
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
64 | 72 |
| |
65 | 73 |
| |
66 | 74 |
| |
| |||
1166 | 1174 |
| |
1167 | 1175 |
| |
1168 | 1176 |
| |
| 1177 | + | |
| 1178 | + | |
1169 | 1179 |
| |
1170 | 1180 |
| |
1171 | 1181 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3532 | 3532 |
| |
3533 | 3533 |
| |
3534 | 3534 |
| |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
3535 | 3541 |
| |
3536 | 3542 |
| |
3537 | 3543 |
| |
|
Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
217 | 217 |
| |
218 | 218 |
| |
219 | 219 |
| |
| 220 | + | |
220 | 221 |
| |
221 | 222 |
| |
222 | 223 |
| |
| |||
285 | 286 |
| |
286 | 287 |
| |
287 | 288 |
| |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
288 | 298 |
| |
289 | 299 |
| |
290 | 300 |
| |
| |||
462 | 472 |
| |
463 | 473 |
| |
464 | 474 |
| |
465 |
| - | |
| 475 | + | |
466 | 476 |
| |
467 | 477 |
| |
468 | 478 |
| |
| |||
471 | 481 |
| |
472 | 482 |
| |
473 | 483 |
| |
474 |
| - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
475 | 487 |
| |
476 | 488 |
| |
477 | 489 |
| |
|
0 commit comments
Comments
(0)