pg_receivexlog always handles -d option argument as connstr - Mailing list pgsql-hackers

From Sawada Masahiko
Subject pg_receivexlog always handles -d option argument as connstr
Date
Msg-id CAD21AoC6vdC2DVPVzcYmhWPf4pi9tBiK7RrsdvEthM9yf5d4BQ@mail.gmail.com
Whole thread Raw
Responses Re: pg_receivexlog always handles -d option argument as connstr
List pgsql-hackers
Hi all,

pg_receivexlog always handles argument of -d option as  connstr formatted value.
We can doubly specify host name, port number.
The other client tools handles -d option as connstr value only if
argument has "=" character.
The document says that pg_receivexlog ignores database name, and this
option is called for consistency with other client applications.
But if we specify database name like other client tool '-d hoge' ,
then we will definitely got error.
I think that pg_receivexlog should be changed to get consistency with
other client tools.

Thought?

Regards,

-------
Sawada Masahiko



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [RFC] Incremental backup v2: add backup profile to base backup
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: CREATE IF NOT EXISTS INDEX