Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 74c2304

Browse files
author
Mikhail Rutman
committed
fix multimaster build due to connpool changes
1 parent 822dcd9 commit 74c2304

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/include/compat.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#ifndef MTMCOMPAT_H
22
#define MTMCOMPAT_H
33

4+
/* EE pooler gets rid of static variable */
5+
#ifdef PGPRO_EE
6+
#define FeBeWaitSetCompat() (MyProcPort->pqcomm_waitset)
7+
#else
48
#define FeBeWaitSetCompat() (FeBeWaitSet)
9+
#endif
510

611
#ifdef PGPRO_EE /* atx */
712
#define BeginTransactionBlockCompat() (BeginTransactionBlock(false, NIL))

0 commit comments

Comments
 (0)