Skip to content

Fix PostgreSQL 11 build failure #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2018
Merged

Fix PostgreSQL 11 build failure #52

merged 1 commit into from
May 29, 2018

Conversation

byucesoy
Copy link
Contributor

Fixes #50

@byucesoy byucesoy force-pushed the fix-PG11-build-failure branch from 3898a20 to e7bfbc8 Compare May 29, 2018 08:58
@byucesoy byucesoy merged commit a53cea8 into master May 29, 2018
@byucesoy byucesoy deleted the fix-PG11-build-failure branch June 6, 2018 09:07
ALLOCSET_DEFAULT_MINSIZE,
ALLOCSET_DEFAULT_INITSIZE,
ALLOCSET_DEFAULT_MAXSIZE);
#else

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the wrong fix FWIW, you should just replace the arguments with ALLOCSET_DEFAULT_SIZES. That works for 9.6+. By using AllocSetContextCreateExtended you skip some error checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants