[HACKERS] Small patch for pg_basebackup argument parsing - Mailing list pgsql-hackers

From Pierre Ducroquet
Subject [HACKERS] Small patch for pg_basebackup argument parsing
Date
Msg-id 1613715.leD0ZEjuag@peanuts2
Whole thread Raw
Responses Re: [HACKERS] Small patch for pg_basebackup argument parsing  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hi

Yesterday while doing a few pg_basebackup, I realized that the integer
parameters were not properly checked against invalid input.
It is not a critical issue, but this could be misleading for an user who
writes -z max or -s 0.5…
I've attached the patch to this mail. Should I add it to the next commit fest
or is it not needed for such small patches ?

Thanks

 Pierre
Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Row Level Security UPDATE Confusion
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] logical replication apply to run with sync commit offby default