Re: [HACKERS] Confusing long option in pg_receivexlog/basebackup/dumpall

2013-05-02 Thread Pavan Deolasee
On Thu, May 2, 2013 at 11:24 AM, Heikki Linnakangas hlinnakan...@vmware.com wrote: In other tools too, like psql, you can pass a connection string with -d/--dbname, which is why I thought it would be best to use the same option for passing a connection string to pg_basebackup/pg_dumpall

[HACKERS] Confusing long option in pg_receivexlog/basebackup/dumpall

2013-05-01 Thread Pavan Deolasee
Hi All, While looking at the help message of pg_basebackup, I got a bit confused by it. It looks something like this: Connection options: -d, --dbname=CONNSTR connection string So the long option says --dbname which is not really what its expecting. The same issue also applies to

Re: [HACKERS] Confusing long option in pg_receivexlog/basebackup/dumpall

2013-05-01 Thread Heikki Linnakangas
On 02.05.2013 08:43, Pavan Deolasee wrote: Hi All, While looking at the help message of pg_basebackup, I got a bit confused by it. It looks something like this: Connection options: -d, --dbname=CONNSTR connection string So the long option says --dbname which is not really what its