We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a1fc36 + e7bfbc8 commit a53cea8Copy full SHA for a53cea8
hll.c
@@ -2756,11 +2756,19 @@ setup_multiset(MemoryContext rcontext)
2756
MemoryContext oldcontext;
2757
multiset_t * msp;
2758
2759
+#if (PG_VERSION_NUM >= 110000)
2760
+ tmpcontext = AllocSetContextCreateExtended(rcontext,
2761
+ "multiset",
2762
+ ALLOCSET_DEFAULT_MINSIZE,
2763
+ ALLOCSET_DEFAULT_INITSIZE,
2764
+ ALLOCSET_DEFAULT_MAXSIZE);
2765
+#else
2766
tmpcontext = AllocSetContextCreate(rcontext,
2767
"multiset",
2768
ALLOCSET_DEFAULT_MINSIZE,
2769
ALLOCSET_DEFAULT_INITSIZE,
2770
ALLOCSET_DEFAULT_MAXSIZE);
2771
+#endif
2772
2773
oldcontext = MemoryContextSwitchTo(tmpcontext);
2774
0 commit comments