Re: pg_upgrade fails with a config-only datadir and no --new-bindir

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: Bohyun Lee <bohyun(dot)lee(at)databricks(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade fails with a config-only datadir and no --new-bindir
Date: 2026-10-14 07:17:44
Message-ID: cf2265c0-3be3-4e3e-99ab-176be2b394b2@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 14/10/2026 04:39, Chao Li wrote:
> However, the updated test in 002_pg_upgrade.pl doesn’t seem to cover the bug being fixed. I tried to ran the updated test against master, and it still passed. Is that intentional?

Yes, I didn't include a test for the bug being fixed. The test change
was just to reflect that the behavior with a bogus --old-bindir changed
slightly -- the error on that now occurs earlier, before the
pg_upgrade_output.d directory is created.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message solai v 2026-10-14 07:23:44 Re: addFkRecurseReferencing use unassigned fkconstraint->fk_with_period value
Previous Message John Naylor 2026-10-14 07:16:04 Re: Improving scalability of Parallel Bitmap Heap/Index Scan