Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it - Mailing list pgsql-bugs

From Samo Dadela
Subject Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it
Date
Msg-id CAFuecfNVrPyMJ4qBh1Hcy-P=eMLF8PQSzeQJp4mdyN3D3dTJsA@mail.gmail.com
Whole thread Raw
In response to Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Thanks!

On Fri, Feb 17, 2023 at 7:23 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Samo Dadela <samo.dadela@gmail.com> writes:
> Can you please take a look at the following?

> It's just a warning - the restore succeeded anyway.

> pg_restore is emitting the following:

> pg_restore: warning: could not find where to insert IF EXISTS in statement
> "-- *not* dropping schema, since initdb creates it

This was reported already, and is fixed in 15.2.

                        regards, tom lane

pgsql-bugs by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: BUG #17803: Rule "ALSO INSERT ... SELECT ..." fails to substitute default values
Next
From: Dean Rasheed
Date:
Subject: Re: BUG #17803: Rule "ALSO INSERT ... SELECT ..." fails to substitute default values