From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Simon Riggs <simon.riggs@enterprisedb.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Bernd Helmle <mailings@oopsware.de>
Cc: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Subject: Re: Allowing REINDEX to have an optional name
Date: Fri, 15 Jul 2022 10:03:24 -0400
Message-ID: <3370903.1657893804@sss.pgh.pa.us> (raw)
In-Reply-To: <20220715130334.p2qe6nefuod7ncex@alvherre.pgsql>
References: <20220715130334.p2qe6nefuod7ncex@alvherre.pgsql>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Ah, one theory is that the libpq_pipeline program is getting linked to
> an installed version of libpq that doesn't contain the fixes. Maybe you
> can do `ldd /path/to/libpq_pipeline` and see which copy of libpq.so it
> is picking up?
That's pronounced "otool -L" on macOS. But in any case, it's going
to point at the installation directory. One of the moving parts here
is that "make check" will try to override the rpath that otool tells
you about to make test programs use the libpq.dylib from the build tree.
I say "try" because if you've got SIP enabled (see what "csrutil status"
tells you), it will fail to do so and the installed libpq will be used.
Maybe that's old.
Standard recommendation on macOS with SIP on is to always do "make
install" before "make check".
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, simon.riggs@enterprisedb.com, michael@paquier.xyz, mailings@oopsware.de, ashutosh.bapat.oss@gmail.com, ashutosh.bapat@enterprisedb.com
Subject: Re: Allowing REINDEX to have an optional name
In-Reply-To: <3370903.1657893804@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox