On 2020-Jun-24, Fujii Masao wrote:
> > I think the errcode is a bit bogus considering the new case.
> > IMO ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE is more appropriate.
>
> Agreed. So I updated the patch so this errcode is used instead.
> Patch attached.
LGTM.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services