File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -2106,8 +2106,11 @@ static void
2106
2106
compatibility_check (void )
2107
2107
{
2108
2108
#ifdef PGPRO_EE
2109
- if (getNestLevelATX () != 0 )
2110
- elog (ERROR , "pg_variable extension is not compatible with autonomous transactions and connection pooling" );
2109
+ # if (PG_VERSION_NUM < 130000 ) || \
2110
+ ((PG_VERSION_NUM >= 130000 ) && (defined PGPRO_FEATURE_ATX ))
2111
+ if (getNestLevelATX () != 0 )
2112
+ elog (ERROR , "pg_variable extension is not compatible with autonomous transactions and connection pooling" );
2113
+ # endif
2111
2114
#endif
2112
2115
}
2113
2116
Original file line number Diff line number Diff line change 11
11
#include "funcapi.h"
12
12
13
13
#include "access/htup_details.h"
14
- #include "access/tuptoaster.h"
14
+ /*
15
+ * See https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=8b94dab06617ef80a0901ab103ebd8754427ef
16
+ *
17
+ * Split tuptoaster.c into three separate files.
18
+ */
19
+ #if PG_VERSION_NUM >= 130000
20
+ # include "access/detoast.h"
21
+ # include "access/heaptoast.h"
22
+ #else
23
+ # include "access/tuptoaster.h"
24
+ #endif
25
+
15
26
#include "catalog/pg_collation.h"
16
27
#include "catalog/pg_type.h"
17
28
#include "utils/builtins.h"
You can’t perform that action at this time.
0 commit comments