Skip to content

Commit 8bc7be4

Browse files
committed
PG <= 14 misses PGDLLIMPORT on some variables
1 parent d9cdb28 commit 8bc7be4

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

concurrent.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#include "replication/decode.h"
2020
#include "utils/rel.h"
2121

22+
#if PG_VERSION_NUM < 150000
23+
extern PGDLLIMPORT int wal_segment_size;
24+
#endif
25+
2226
static void apply_concurrent_changes(DecodingOutputState *dstate,
2327
Relation relation, ScanKey key,
2428
int nkeys, IndexInsertState *iistate);

pg_squeeze.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
#include "utils/rel.h"
6666
#include "utils/syscache.h"
6767

68+
#if PG_VERSION_NUM < 150000
69+
extern PGDLLIMPORT int wal_segment_size;
70+
extern PGDLLIMPORT bool FirstSnapshotSet;
71+
#endif
72+
6873
#if PG_VERSION_NUM < 120000
6974
#include "utils/tqual.h"
7075
#endif

0 commit comments

Comments
 (0)