Release cache tuple when no longer needed
Alvaro Herrera <alvherre@alvh.no-ip.org>
Release cache tuple when no longer needed There was a small buglet in commit 52e4f0cd472d whereby a tuple acquired from cache was not released, giving rise to WARNING messages; fix that. While at it, restructure the code a bit on stylistic grounds. Author: Hou zj <houzj.fnst@fujitsu.com> Reported-by: Peter Smith <smithpb2250@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Discussion: https://postgr.es/m/CAHut+PvKTyhTBtYCQsP6Ph7=o-oWRSX+v+PXXLXp81-o2bazig@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/publicationcmds.c | modified | +48 −47 |
| src/test/regress/expected/publication.out | modified | +12 −4 |
| src/test/regress/sql/publication.sql | modified | +8 −0 |
Discussion
- row filtering for logical replication 701 messages · 2018-02-28 → 2022-04-14