pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers@lists.postgresql.org, Jacob Champion <jacob.champion@enterprisedb.com>
Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
Date: Mon, 13 May 2024 12:22:02 +0900
Message-ID: <ZkGHWhUT-fW0459n@paquier.xyz> (raw)
In-Reply-To: <202405101223.66lahv2qiwe7@alvherre.pgsql>
References: <202405101159.ttkbzrb5l7vn@alvherre.pgsql>
	<202405101223.66lahv2qiwe7@alvherre.pgsql>

On Fri, May 10, 2024 at 02:23:09PM +0200, Alvaro Herrera wrote:
> Ah, I ran 'git clean -dfx' and now it works correctly.  I must have had
> an incomplete rebuild.

I am going to assume that this is an incorrect build.  It seems to me
that src/common/ was compiled with a past version not sufficient to
make the new test pass as more bytes got pushed to the error output as
the pre-855517307db8 code could point to some random junk.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (12+ messages)  latest in thread

Message-ID: <ZkGHWhUT-fW0459n@paquier.xyz>
Permalink:  ../ZkGHWhUT-fW0459n@paquier.xyz/
Also on:    postgresql.org/message-id/ZkGHWhUT-fW0459n@paquier.xyz

 · 

reply

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-committers@postgresql.org
  Cc: michael@paquier.xyz, alvherre@alvh.no-ip.org, jacob.champion@enterprisedb.com
  Subject: Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
  In-Reply-To: <ZkGHWhUT-fW0459n@paquier.xyz>

* 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