diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-10-07 08:20:55 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-10-07 08:20:55 +0200 |
commit | d942887039a608c91084a942fe10571c6f6be35a (patch) | |
tree | c95d939e235ee64673bfaa3dc792d974696ff971 /src/backend/nodes/copyfuncs.c | |
parent | 5c6e33f071537d9831db57471a06d39a175b535a (diff) | |
download | postgresql-d942887039a608c91084a942fe10571c6f6be35a.tar.gz postgresql-d942887039a608c91084a942fe10571c6f6be35a.zip |
Improve order in file
Move support functions for new PublicationTable node to more sensible
locations in the files.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 20 |
1 files changed, 10 insertions, 10 deletions
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 * |