From d942887039a608c91084a942fe10571c6f6be35a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 7 Oct 2021 08:20:55 +0200 Subject: Improve order in file Move support functions for new PublicationTable node to more sensible locations in the files. --- src/backend/nodes/copyfuncs.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/backend/nodes/copyfuncs.c') diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 228387eaeed..70e9e54d3e5 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -4810,6 +4810,16 @@ _copyPartitionCmd(const PartitionCmd *from) return newnode; } +static PublicationTable * +_copyPublicationTable(const PublicationTable *from) +{ + PublicationTable *newnode = makeNode(PublicationTable); + + COPY_NODE_FIELD(relation); + + return newnode; +} + static CreatePublicationStmt * _copyCreatePublicationStmt(const CreatePublicationStmt *from) { @@ -4958,16 +4968,6 @@ _copyForeignKeyCacheInfo(const ForeignKeyCacheInfo *from) return newnode; } -static PublicationTable * -_copyPublicationTable(const PublicationTable *from) -{ - PublicationTable *newnode = makeNode(PublicationTable); - - COPY_NODE_FIELD(relation); - - return newnode; -} - /* * copyObjectImpl -- implementation of copyObject(); see nodes/nodes.h * -- cgit v1.2.3