mirror of
https://github.com/postgres/postgres.git
synced 2025-06-08 22:02:03 +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:
parent
5c6e33f071
commit
d942887039
@ -4810,6 +4810,16 @@ _copyPartitionCmd(const PartitionCmd *from)
|
|||||||
return newnode;
|
return newnode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static PublicationTable *
|
||||||
|
_copyPublicationTable(const PublicationTable *from)
|
||||||
|
{
|
||||||
|
PublicationTable *newnode = makeNode(PublicationTable);
|
||||||
|
|
||||||
|
COPY_NODE_FIELD(relation);
|
||||||
|
|
||||||
|
return newnode;
|
||||||
|
}
|
||||||
|
|
||||||
static CreatePublicationStmt *
|
static CreatePublicationStmt *
|
||||||
_copyCreatePublicationStmt(const CreatePublicationStmt *from)
|
_copyCreatePublicationStmt(const CreatePublicationStmt *from)
|
||||||
{
|
{
|
||||||
@ -4958,16 +4968,6 @@ _copyForeignKeyCacheInfo(const ForeignKeyCacheInfo *from)
|
|||||||
return newnode;
|
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
|
* copyObjectImpl -- implementation of copyObject(); see nodes/nodes.h
|
||||||
*
|
*
|
||||||
|
@ -2296,6 +2296,14 @@ _equalAlterTSConfigurationStmt(const AlterTSConfigurationStmt *a,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool
|
||||||
|
_equalPublicationTable(const PublicationTable *a, const PublicationTable *b)
|
||||||
|
{
|
||||||
|
COMPARE_NODE_FIELD(relation);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
_equalCreatePublicationStmt(const CreatePublicationStmt *a,
|
_equalCreatePublicationStmt(const CreatePublicationStmt *a,
|
||||||
const CreatePublicationStmt *b)
|
const CreatePublicationStmt *b)
|
||||||
@ -3133,14 +3141,6 @@ _equalBitString(const BitString *a, const BitString *b)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
|
||||||
_equalPublicationTable(const PublicationTable *a, const PublicationTable *b)
|
|
||||||
{
|
|
||||||
COMPARE_NODE_FIELD(relation);
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* equal
|
* equal
|
||||||
* returns whether two nodes are equal
|
* returns whether two nodes are equal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user