On 6/6/18 13:20, Konstantin Knizhnik wrote: > Well, psql really allows to specify complete connection string with -d > options (although it is not mentioned in help). > But still I think that it is inconvenient to require user to write > complete connection string to be able to specify compression option, > while everybody prefer to use -h, -U, -p options to specify > correspondent components of connection string.
I recommend that you avoid derailing your effort by hinging it on this issue. You can always add command-line options after the libpq support is in. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services