diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-03-16 19:20:49 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-03-16 19:20:49 +0900 |
commit | 83e5763d4dddd9b24b738d8335b3cbfc2742e4ac (patch) | |
tree | 035ff1d38742438c4d2e4c4084e246695925dca2 /src/backend/executor/nodeModifyTable.c | |
parent | 771ba90298e2b79a94678c96f7960274a7896feb (diff) | |
download | postgresql-83e5763d4dddd9b24b738d8335b3cbfc2742e4ac.tar.gz postgresql-83e5763d4dddd9b24b738d8335b3cbfc2742e4ac.zip |
pg_createsubscriber: Remove some code bloat in the atexit() callback
This commit adjusts some code added by e117cfb2f6c6 in the atexit()
callback of pg_createsubscriber.c, in charge of performing post-failure
cleanup actions. The code loops over all the databases specified, and
it is changed here to rely on a single LogicalRepInfo for each database
rather than always using LogicalRepInfos, simplifying its logic.
Author: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/CAHut+PtdBSVi4iH7BObDVwDNVwOpn+H3fezOBdSTtENx+rhNMw@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions