Postgres 10 and the pg_ctl "--wait" option

2018-03-01 Thread Greg k
In PostreSql 10, the documentation for pg_ctl and the "--wait" option says "Startup is considered complete when the PID file indicates that the server is ready to accept connections." When I do a point-in-time recovery followed by a start with "/usr/pgsql-10/bin/pg_ctl start -D /data -w -t 86400",

Re: libpq options

2018-03-01 Thread Michael Paquier
On Thu, Mar 01, 2018 at 01:35:54AM -0800, Andres Freund wrote: > On 2017-11-25 19:05:54 +0900, Michael Paquier wrote: >> A Boolean value of true tells the backend >> + to go into walsender mode, wherein a small set of replication >> commands >> + can be issued instead of SQL statements

Re: Document WaitForBackgroundWorkerShutdown and fix bgworker typo

2018-03-01 Thread Daniel Gustafsson
> On 01 Mar 2018, at 17:46, Andres Freund wrote: > > On 2018-02-09 23:43:26 +0100, Daniel Gustafsson wrote: >> WaitForBackgroundWorkerShutdown() was added in 924bcf4f16d, but never >> documented which seems like an oversight for such a useful function. The >> attached patch adds this to bgworker

Re: Document WaitForBackgroundWorkerShutdown and fix bgworker typo

2018-03-01 Thread Andres Freund
On 2018-02-09 23:43:26 +0100, Daniel Gustafsson wrote: > WaitForBackgroundWorkerShutdown() was added in 924bcf4f16d, but never > documented which seems like an oversight for such a useful function. The > attached patch adds this to bgworker.sgml, and also fixes what I believe are > typos in the Wa

Re: libpq options

2018-03-01 Thread Andres Freund
On 2017-11-25 19:05:54 +0900, Michael Paquier wrote: > + > + replication > + > + > + This option determines if a backend should use the replication > + protocol. "should"? The backend will, and the client will have to do so as well. > A Boolean value of true tel