On Thu, Aug 8, 2019 at 11:04 AM Arni Kromić <Arni.Kromic@xxxxxxxxxxx> wrote: > Moreover, trying to clone some of the existing schemas also fails: > call clone_schema ('HR16101766338-2018', 'test') > > NOTICE: source schema HR16101766338-2018 does not exist! > > The source schema DOES exist. This could lead to a catalog corruption, even if it is a lot strange! What does: SELECT oid, nspname FROM pg_namespace WHERE nspname = quote_ident( 'HR16101766338-2018'); return? And what about SELECT oid, nspname FROM pg_namespace WHERE nspname like '%HR16101766338-2018%'; Luca