Skip to content
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

Fix header collision. #47

Merged
merged 2 commits into from
Dec 17, 2018
Merged

Fix header collision. #47

merged 2 commits into from
Dec 17, 2018

Conversation

madf
Copy link

@madf madf commented Dec 14, 2018

Starting from PostgreSQL 10.5, 9.6.10, 9.5.14, 9.4.19, 9.3.24,
and 11 Beta 3 PostgreSQL comes with its own pgtypes.h as a part of
the ecpg interface. This fix renames internal header to prevent
name collision.

Fixes #46

Starting from PostgreSQL 10.5, 9.6.10, 9.5.14, 9.4.19, 9.3.24,
and 11 Beta 3 PostgreSQL comes with its own pgtypes.h as a part of
the ecpg interface. This fix renames internal header to prevent
name collision.
@rsoeldner
Copy link
Contributor

@madf Thank you, could you please update the cabal file too, renaming pgtypes.h

@madf
Copy link
Author

madf commented Dec 16, 2018

Sure. Done.

@kosmonaffft
Copy link

Is there any chances for bugfix to be available soon in hackage?

@rsoeldner rsoeldner merged commit 1e046f3 into hdbc:master Dec 17, 2018
@rsoeldner
Copy link
Contributor

@kosmonaffft there was a problem with hackage permissions, I will upload it this evening

@madf madf deleted the header-collision branch December 18, 2018 10:57
@rsoeldner
Copy link
Contributor

@madf check hackage :-)

@madf
Copy link
Author

madf commented Dec 18, 2018

@rsoeldner already there! Thanks for quick reaction!

vt-alt pushed a commit to altlinux/specs that referenced this pull request Feb 28, 2019
- hdbc/hdbc-postgresql#47 :
  Starting from PostgreSQL 10.5, 9.6.10, 9.5.14, 9.4.19, 9.3.24,
  and 11 Beta 3 PostgreSQL comes with its own pgtypes.h as a part of
  the ecpg interface. This fix renames internal header to prevent
  name collision. (Thanks Maxim Mamontov <faust.madf@gmail.com>)
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.

error: use of undeclared identifier 'PG_TYPE_CHAR'
3 participants