Re: BUG #19067: On master at commit 66cdef4425f3, "psql -c 'select 1' dbname" causes the backend to seg fault

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Todd Cook <cookt@blackduck.com>
Cc: David Rowley <dgrowleyml@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2025-09-29T15:55:31Z
Lists: pgsql-bugs
Todd Cook <cookt@blackduck.com> writes:
> On 9/27/25, 5:07 AM, "David Rowley" <dgrowleyml@gmail.com <mailto:dgrowleyml@gmail.com>> wrote:
>> I think it's more likely you need to do "make clean" before building.

> Generally, when is that needed?  I pulled and built master last Monday without any problems,
> didn't touch the tree, then pulled and built again on Friday and started getting the seg faults.
> I had expected an incremental build to work in that scenario.

If you use --enable-depend that should generally work, but without
it you'd better "make clean" any time *.h files change.

			regards, tom lane