On Tue, Mar 23, 2021 at 12:34 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > > Alvaro Herrera <alvhe...@alvh.no-ip.org> writes: > > However, for this one > > > + case CAC_NOTCONSISTENT: > > + if (EnableHotStandby) > > + ereport(FATAL, > > + (errcode(ERRCODE_CANNOT_CONNECT_NOW), > > + errmsg("the database system is not accepting > > connections"), > > + errdetail("Consistent recovery state has not been > > yet reached."))); > > > Maybe it makes sense to say "... is not accepting connections *yet*". > > +1, but I think "... is not yet accepting connections" is slightly > better style.
All right, see attached v8. James Coleman
v8-0001-Improve-standby-connection-denied-error-message.patch
Description: Binary data