Skip to content

Conversation

@petk
Copy link
Member

@petk petk commented Jun 8, 2024

If I'm not mistaken, this one is in <pg_config.h> but I'm not sure if it is included anywhere or intended to be used by the PostgreSQL API.

@petk petk merged commit 01887af into php:master Jun 9, 2024
@petk petk deleted the patch-PG_VERSION_NUM branch June 9, 2024 04:48
@petk
Copy link
Member Author

petk commented Jun 9, 2024

Or maybe I've merged this too quickly. Typo is certain, yes. But something isn't ok here yet, I think. I'll recheck, if I find some solution. Because this PG_VERSION_NUM isn't defined with current includes libpq-fe.h and libpq/libpq-fs.h. Perhaps @devnexen you know?

@devnexen
Copy link
Member

devnexen commented Jun 9, 2024

See here.

@petk
Copy link
Member Author

petk commented Jun 9, 2024

PR here: #14519

Issue is that pg_config.h is not included which has this PG_VERSION_NUM. And this header doesn't seem to be meant to be included when only libpq is installed. At least from what I see (PostgreSQL 16).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants