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

Lines changed: 5 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy