Skip to content

Commit c258c04

Browse files
committed
Minor fixes after cherry pick from ee.
1 parent 877bbc6 commit c258c04

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef struct OnCommitItem
119119
SubTransactionId deleting_subid;
120120
} OnCommitItem;
121121

122-
static List *on_commits = NIL;
122+
List *on_commits = NIL;
123123

124124

125125
/*

src/include/c.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,9 @@ typedef uint32 SubTransactionId;
531531
#define InvalidSubTransactionId ((SubTransactionId) 0)
532532
#define TopSubTransactionId ((SubTransactionId) 1)
533533

534+
/* stub for making core patches more compatible with pgproee */
535+
#define XID_FMT "%u"
536+
534537
/* MultiXactId must be equivalent to TransactionId, to fit in t_xmax */
535538
typedef TransactionId MultiXactId;
536539

src/include/commands/tablecmds.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
struct AlterTableUtilityContext; /* avoid including tcop/utility.h here */
2525

26+
extern PGDLLIMPORT List* on_commits;
2627

2728
extern ObjectAddress DefineRelation(CreateStmt *stmt, char relkind, Oid ownerId,
2829
ObjectAddress *typaddress, const char *queryString);

src/include/replication/walsender.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#define _WALSENDER_H
1414

1515
#include <signal.h>
16+
#include <access/xlogdefs.h>
1617

1718
/*
1819
* What to do with a snapshot in create replication slot command.

0 commit comments

Comments
 (0)