| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | pg_upgrade: Error out on too many command-line arguments |
| Date: | 2019-08-25 08:51:47 |
| Message-ID: | f2554627-04e7-383a-ef01-ab99bb6a291c@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I propose the attached patch to make pg_upgrade error out on too many
command-line arguments. This makes it match the behavior of other
PostgreSQL programs.
See [0] for an issue related to the lack of this check:
[0]:
https://www.postgresql.org/message-id/871sdbzizp.fsf%40jsievers.enova.com
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-pg_upgrade-Error-out-on-too-many-command-line-argume.patch | text/plain | 960 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2019-08-25 09:01:56 | Re: pg_upgrade: Error out on too many command-line arguments |
| Previous Message | Peter Eisentraut | 2019-08-25 07:02:23 | Re: mingw32 floating point diff |