Re: meson's in-tree libpq header search order vs -Dextra_include_dirs

Mario Gonzalez <gonzalemario@gmail.com>

From: Mario González Troncoso <gonzalemario@gmail.com>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-10-09T19:09:17Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. ci: Add missing "set -e" to scripts run by su.

  2. Don't put library-supplied -L/-I switches before user-supplied ones.

On Thu, 9 Oct 2025 at 16:06, Thomas Munro <thomas.munro@gmail.com> wrote:
>
> Added to commitfest: https://commitfest.postgresql.org/patch/6056/
>
> I'm having to carry this patch in all my development branches for now
> or I can't build on one of my regular dev machines, so I'm quite keen
> to get this into the tree soon and would back-patch to 16.
>

Can you confirm you still have this problem on current master? I tried
to reproduce it in debian 12 by installing `postgresql-server-dev-15`
and adding the -Dextra_include_dirs

> I gather no one else is affected yet, but I assume you can see the
> problem on a Mac by installing PostgreSQL with Homebrew/MacPorts, or
> on CI if you do this to .cirrus.tasks.yml:
>
>    setup_additional_packages_script: |
> -    #pkg install -y ...
> +    pkg install -y postgresql17-client
>

-- 
https://www.linkedin.com/in/gonzalemario