forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd4b233
committed
Invalidate pgoutput's replication-decisions cache upon schema rename.
A schema rename should cause reporting the new qualified names oftables to logical replication subscribers, but that wasn't happening.Flush the RelationSyncCache to make it happen.(If you ask me, the new test case shows that the behavior in this areais still pretty dubious, but apparently it's operating as designed.)Vignesh CDiscussion:https://postgr.es/m/CALDaNm32vLRv5KdrDFeVC-CU+4Wg1daA55hMqOxDGJBzvd76-w@mail.gmail.com1 parent211d80c commitcd4b233
File tree
2 files changed
+84
-6
lines changed- src
- backend/replication/pgoutput
- test/subscription/t
2 files changed
+84
-6
lines changedLines changed: 20 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1929 | 1929 |
| |
1930 | 1930 |
| |
1931 | 1931 |
| |
| 1932 | + | |
1932 | 1933 |
| |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
1933 | 1948 |
| |
1934 | 1949 |
| |
1935 | 1950 |
| |
| |||
2325 | 2340 |
| |
2326 | 2341 |
| |
2327 | 2342 |
| |
2328 |
| - | |
2329 |
| - | |
| 2343 | + | |
| 2344 | + | |
2330 | 2345 |
| |
2331 | 2346 |
| |
2332 | 2347 |
| |
| |||
2337 | 2352 |
| |
2338 | 2353 |
| |
2339 | 2354 |
| |
2340 |
| - | |
| 2355 | + | |
2341 | 2356 |
| |
2342 | 2357 |
| |
2343 | 2358 |
| |
2344 | 2359 |
| |
2345 | 2360 |
| |
2346 |
| - | |
2347 |
| - | |
| 2361 | + | |
| 2362 | + | |
2348 | 2363 |
| |
2349 | 2364 |
| |
2350 | 2365 |
| |
|
Lines changed: 64 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
73 |
| - | |
74 | 73 |
| |
75 | 74 |
| |
| 75 | + | |
| 76 | + | |
76 | 77 |
| |
77 | 78 |
| |
78 | 79 |
| |
| |||
307 | 308 |
| |
308 | 309 |
| |
309 | 310 |
| |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
310 | 373 |
| |
311 | 374 |
| |
312 | 375 |
| |
|
0 commit comments
Comments
(0)