On Friday, November 20, 2020, Paul Förster <paul.foers...@gmail.com> wrote:
>
>
> > On 20. Nov, 2020, at 10:03, Thomas Kellerer <sham...@gmx.net> wrote:
>
> >
> >   select pg_is_in_recovery();
>
> I usually don't recommend using pg_is_in_recovery() only because a
> database cluster can be in recovery for other reasons. This is why I always
> do the following:
>

Do any of those other reasons allow connections that could execute that
function to exist?

David J.

Reply via email to