Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
Date
Msg-id bc57073e-27a3-4a4a-9d93-ef734d473a74@eisentraut.org
Whole thread Raw
In response to Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
List pgsql-hackers
On 15.05.24 02:00, Michael Paquier wrote:
> On Tue, May 14, 2024 at 10:39:36AM +0200, Peter Eisentraut wrote:
>> I saw the same thing.  The problem is that there is incomplete dependency
>> information in the makefiles (not meson) between src/common/ and what is
>> using it.  So whenever anything changes in src/common/, you pretty much have
>> to do a forced rebuild of everything.
> 
> Is that a recent regression?  I have some blurry memories from
> working on these areas that changing src/common/ reflected on the
> compiled pieces effectively at some point.

One instance of this problem that I can reproduce at least back to PG12 is

1. touch src/common/exec.c
2. make -C src/bin/pg_dump

This will rebuild libpgcommon, but it will not relink pg_dump.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: SQL:2011 application time
Next
From: Bharath Rupireddy
Date:
Subject: Re: Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM