On 7 June 2018 at 04:01, Peter Eisentraut <peter.eisentr...@2ndquadrant.com> wrote:
> 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. > Strongly agree. Let libpq handle it first with the core protocol support and connstr parsing, add convenience flags later. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services