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

2013-05-01 Thread Pavan Deolasee
On Thu, May 2, 2013 at 11:24 AM, Heikki Linnakangas 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 too. > > Ah Ok. I w

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 expec