BUG #15603: LibPQ doesn't like replication as a valid option

Started by PG Bug reporting formabout 7 years ago3 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 15603
Logged by: James Sewell
Email address: james.sewell@gmail.com
PostgreSQL version: 11.1
Operating system: Linux
Description:

When I look at the LibPQ documentation I don't see replication (which I
*think* can be true or database) listed as a valid option.

I would expect that it would be listed here:

https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-PARAMKEYWORDS

It *is* mentioned in passing here:

https://www.postgresql.org/docs/11/protocol-replication.html

And it obviously works!

#2Andres Freund
andres@anarazel.de
In reply to: PG Bug reporting form (#1)
Re: BUG #15603: LibPQ doesn't like replication as a valid option

On 2019-01-22 23:31:27 +0000, PG Bug reporting form wrote:

The following bug has been logged on the website:

Bug reference: 15603
Logged by: James Sewell
Email address: james.sewell@gmail.com
PostgreSQL version: 11.1
Operating system: Linux
Description:

When I look at the LibPQ documentation I don't see replication (which I
*think* can be true or database) listed as a valid option.

I would expect that it would be listed here:

https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-PARAMKEYWORDS

I'm confused - isn't that documented on the page you point out?
https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-CONNECT-REPLICATION

Greetings,

Andres Freund

#3Michael Paquier
michael@paquier.xyz
In reply to: Andres Freund (#2)
Re: BUG #15603: LibPQ doesn't like replication as a valid option

On Tue, Jan 22, 2019 at 04:03:29PM -0800, Andres Freund wrote:

On 2019-01-22 23:31:27 +0000, PG Bug reporting form wrote:

I would expect that it would be listed here:

https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-PARAMKEYWORDS

I can see it listed, perhaps you looked at the page of an older
version?

I'm confused - isn't that documented on the page you point out?
https://www.postgresql.org/docs/11/libpq-connect.html#LIBPQ-CONNECT-REPLICATION

Yes, the addition is recent. This was added in the libpq page
recently by 0c2c81b4, which is part of v11.
--
Michael