Skip to content

Commit c44359b

Browse files
author
Burak Yucesoy
committed
Revert "Fix PostgreSQL 11 build failure"
This reverts commit e7bfbc8. In PostgreSQL mailing-list, it is decided to allow usage of existing API to not break extensions. Also using AllocSetContextCreateExtended was not correct fix anyway, because that skips some error checks. Discussion: Discussion: https://postgr.es/m/[email protected]
1 parent 2cb1d9e commit c44359b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/hll.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2756,19 +2756,11 @@ setup_multiset(MemoryContext rcontext)
27562756
MemoryContext oldcontext;
27572757
multiset_t * msp;
27582758

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
27662759
tmpcontext = AllocSetContextCreate(rcontext,
27672760
"multiset",
27682761
ALLOCSET_DEFAULT_MINSIZE,
27692762
ALLOCSET_DEFAULT_INITSIZE,
27702763
ALLOCSET_DEFAULT_MAXSIZE);
2771-
#endif
27722764

27732765
oldcontext = MemoryContextSwitchTo(tmpcontext);
27742766

0 commit comments

Comments
 (0)