Обсуждение: BUG #15603: LibPQ doesn't like replication as a valid option

Поиск
Список
Период
Сортировка

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

От
PG Bug reporting form
Дата:
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!


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

От
Andres Freund
Дата:
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


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

От
Michael Paquier
Дата:
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

Вложения