diff options
author | Etsuro Fujita <efujita@postgresql.org> | 2022-03-25 15:30:00 +0900 |
---|---|---|
committer | Etsuro Fujita <efujita@postgresql.org> | 2022-03-25 15:30:00 +0900 |
commit | 56566835039ac5eed70f188518cef1a7ea0971b2 (patch) | |
tree | 11dba5eb4e8b705e01afe12ab6776747946755ba /src/backend/access/transam/xlogutils.c | |
parent | ad8759bea06d2a0cac033f5ba551011663d9e716 (diff) | |
download | postgresql-56566835039ac5eed70f188518cef1a7ea0971b2.tar.gz postgresql-56566835039ac5eed70f188518cef1a7ea0971b2.zip |
postgres_fdw: Minor cleanup for pgfdw_abort_cleanup().
Commit 85c696112 introduced this function to deduplicate code in the
transaction callback functions, but the SQL command passed as an
argument to it was useless when it returned before aborting a remote
transaction using the command. Modify pgfdw_abort_cleanup() so that it
constructs the command when/if necessary, as before, removing the
argument from it. Also update comments in pgfdw_abort_cleanup() and one
of the calling functions.
Etsuro Fujita, reviewed by David Zhang.
Discussion: https://postgr.es/m/CAPmGK158hrd%3DZfXmgkmNFHivgh18e4oE2Gz151C2Q4OBDjZ08A%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions