Skip to content

Fix typo s/PGVERSION_NUM/PG_VERSION_NUM #14516

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
Jun 9, 2024
Merged

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
11 checks passed
@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