meson: Fix libpq search order

Edit
ID 6056
Title meson: Fix libpq search order
CI (CFBot) Needs rebase! Needs rebase since 4 days. Failing since 4 days.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Bug Fixes
Tags
Created 2025-09-14 02:51:03
Last modified 2025-11-10 19:09:25 (2 hours ago)
Latest email 2025-11-05 01:50:55 (5 days ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Needs review
PG19-3 (2025-11-01 – 2025-11-30): Moved to different CF
Target version
Authors Thomas Munro (macdice)
Reviewers Mario Gonzalez (gonzalemario)Become reviewer
Committer
Links
Emails
meson's in-tree libpq header search order vs -Dextra_include_dirs
First at 2025-02-03 00:28:40 by Thomas Munro <thomas.munro at gmail.com>
Latest at 2025-11-05 01:50:55 by Thomas Munro <thomas.munro at gmail.com>
Latest attachment (fix_extra_include_prototype.diff.txt) at 2025-11-04 19:55:56 from Andres Freund <andres at anarazel.de>
    Attachment (fix_extra_include_prototype.diff.txt) at 2025-11-04 19:55:56 from Andres Freund <andres at anarazel.de> (Patch: Yes)
    Attachment (v4-0001-meson-Fix-libpq-header-include-order.patch) at 2025-11-04 05:30:51 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v3-0001-meson-Fix-libpq-header-include-order.patch) at 2025-11-03 02:09:43 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (v2-0001-meson-Fix-libpq-header-inclusion-order.patch) at 2025-11-01 05:21:35 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (0001-meson-Fix-libpq-header-include-order.patch) at 2025-07-14 00:48:23 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
    Attachment (wip-reorder-include.diff) at 2025-02-03 00:28:40 from Thomas Munro <thomas.munro at gmail.com> (Patch: Yes)
History
When Who What
2025-11-10 19:09:25 Mario Gonzalez (gonzalemario) Moved from CF PG19-3 to CF PG19-4
2025-11-06 16:16:22 CFbot Patch needs rebase
2025-10-24 20:57:22 Mario Gonzalez (gonzalemario) Added gonzalemario as reviewer
2025-09-14 02:51:03 Thomas Munro (macdice) Attached mail thread CA+hUKGKispvxLyrBn3=3mp0BB1N+RBYR5eE2guCOksnwEoOcPQ@mail.gmail.com
2025-09-14 02:51:03 Thomas Munro (macdice) Created patch record
Edit