mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Improve order in file
Move support functions for new PublicationTable node to more sensible locations in the files.
This commit is contained in:
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user