pg_upgrade: Improve invalid option handling

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade: Improve invalid option handling
Date: 2019-06-13 08:19:05
Message-ID: 24c8bd05-aed1-6301-919d-8acbabdb8c24@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Currently, calling pg_upgrade with an invalid command-line option aborts
pg_upgrade but leaves a pg_upgrade_internal.log file lying around. This
patch reorder things a bit so that that file is not created until all
the options have been parsed.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-pg_upgrade-Improve-invalid-option-handling.patch text/plain 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2019-06-13 08:28:42 Re: Fix inconsistencies for v12 (pass 2)
Previous Message Michael Paquier 2019-06-13 08:10:07 Re: Fix inconsistencies for v12 (pass 2)