pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing
Date: Sat, 29 Mar 2025 09:24:58 -0700
Message-ID: <e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com> (raw)
In-Reply-To: <E1tnozS-000424-2y@gemulon.postgresql.org>
References: <E1tnozS-000424-2y@gemulon.postgresql.org>

On Fri, 2025-02-28 at 01:16 +0000, Michael Paquier wrote:
> pg_upgrade: Fix inconsistency in memory freeing

> Details
> -------
> https://git.postgresql.org/pg/commitdiff/2a083ab807db6d9e2e0e3aa82ee8f6ff9fc44c8d
> 

This seems to have broken the pg_upgrade test when olddump/oldinstall
are set to PG14 or earlier:

stderr:
#   Failed test 'check that locales in new cluster match original
cluster'
#   at
/home/jdavis/git/postgresql/src/bin/pg_upgrade/t/002_pg_upgrade.pl line
506.
#          got: '0|c|C|C|NULL'
#     expected: '0|c|C|C|'
# Looks like you failed 1 test of 16.

Looking at the commit, it seems you are escaping NULL as a literal. 

Regards,
	Jeff Davis






view thread (10+ messages)  latest in thread

Message-ID: <e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com>
Permalink:  ../e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com/
Also on:    postgresql.org/message-id/e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: pgsql@j-davis.com, michael@paquier.xyz
  Subject: Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing
  In-Reply-To: <e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com>
  References: <E1tnozS-000424-2y@gemulon.postgresql.org> <e852442da35b4f31acc600ed98bbee0f12e65e0c.camel@j-davis.com>

* 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