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

From Tom Lane
Subject Re: BUG #19067: On master at commit 66cdef4425f3, "psql -c 'select 1' dbname" causes the backend to seg fault
Date
Msg-id 202543.1759161331@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #19067: On master at commit 66cdef4425f3, "psql -c 'select 1' dbname" causes the backend to seg fault  (Todd Cook <cookt@blackduck.com>)
List 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



pgsql-bugs by date:

Previous
From: Todd Cook
Date:
Subject: Re: BUG #19067: On master at commit 66cdef4425f3, "psql -c 'select 1' dbname" causes the backend to seg fault
Next
From: Tom Lane
Date:
Subject: Re: Cast to regrole on a literal string in a PL/pgSQL function