git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 211d80c) | patch
Invalidate pgoutput's replication-decisions cache upon schema rename.
Fri, 6 Jan 2023 16:11:51 +0000 (11:11 -0500)
Fri, 6 Jan 2023 16:11:51 +0000 (11:11 -0500)
commit cd4b2334db4980bbf86a8ba1d446db17e62ca342
Invalidate pgoutput's replication-decisions cache upon schema rename.

A schema rename should cause reporting the new qualified names of
tables 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 area
is still pretty dubious, but apparently it's operating as designed.)

Vignesh C

Discussion: https://postgr.es/m/CALDaNm32vLRv5KdrDFeVC-CU+4Wg1daA55hMqOxDGJBzvd76-w@mail.gmail.com
src/backend/replication/pgoutput/pgoutput.c diff | blob | blame | history
src/test/subscription/t/100_bugs.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /