Re: Allowing REINDEX to have an optional name - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Allowing REINDEX to have an optional name
Date
Msg-id 3370903.1657893804@sss.pgh.pa.us
Whole thread Raw
In response to Re: Allowing REINDEX to have an optional name  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Allowing REINDEX to have an optional name
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: SQL/JSON documentation JSON_TABLE
Next
From: Zhenghua Lyu
Date:
Subject: Adjust ndistinct for eqjoinsel