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

From Alvaro Herrera
Subject Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
Date
Msg-id 202405101159.ttkbzrb5l7vn@alvherre.pgsql
Whole thread Raw
Responses Re: pgsql: Fix overread in JSON parsing errors for incomplete byte sequence
List pgsql-hackers
On 2024-May-09, Michael Paquier wrote:

> Fix overread in JSON parsing errors for incomplete byte sequences

I'm getting this error in the new test:

t/002_inline.pl ........................ 1/? 
#   Failed test 'incomplete UTF-8 sequence, chunk size 3: correct error output'
#   at t/002_inline.pl line 134.
#                   'Escape sequence "\�1+2" is invalid.'
#     doesn't match '(?^:(Token|Escape sequence) ""?\\\x{F5}" is invalid)'
# Looks like you failed 1 test of 850.

Not sure what's going on here, or why it fails for me while the
buildfarm is all happy.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Every machine is a smoke machine if you operate it wrong enough."
https://twitter.com/libseybieda/status/1541673325781196801



pgsql-hackers by date:

Previous
From: Alena Rybakina
Date:
Subject: Re: Fix parallel vacuum buffer usage reporting
Next
From: Pavel Borisov
Date:
Subject: Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.