]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Clean up sloppy coding in publicationcmds.c's OpenTableList().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Dec 2018 16:02:39 +0000 (11:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 7 Dec 2018 16:02:39 +0000 (11:02 -0500)
commitaaf7b3bd6f715078867092e7e95c94a1e4222646
tree909d80b52c087815047631813d2b7be9e84bd19b
parent6dc46f8ca83dcec59469261cabad9d0d153ecf24
Clean up sloppy coding in publicationcmds.c's OpenTableList().

Remove dead code (which would be incorrect if it weren't dead),
per report from Pan Bian.  Add a CHECK_FOR_INTERRUPTS in the
inner loop over child relations, because there's little point
in having one in the outer loop if there's not one here too.
Minor stylistic adjustments and comment improvements.

Seems to be aboriginal to this code (cf commit 665d1fad9).
Back-patch to v10 where that came in, not because any of this
is significant, but just to keep the branches looking similar.

Discussion: https://postgr.es/m/15539-06d00ef6b1e2e1bb@postgresql.org
src/backend/commands/publicationcmds.c