On 17/08/2018 12:13, Fabien COELHO wrote:
> sh> psql "connect_timeout=2,port=5433"
>
> The timeout is set to 2, and the port directive is silently ignored.
> However, URL parsing is stricter, eg on "port".
>
> The attached patch checks integer syntax errors and overflows, and report
> errors.
This looks useful and the patch looks reasonable, but it doesn't apply
anymore. Can you send in an update?
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services