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 Tom Lane
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 2713023.1676658218@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it  (Samo Dadela <samo.dadela@gmail.com>)
Responses Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it  (Samo Dadela <samo.dadela@gmail.com>)
List pgsql-bugs
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: Samo Dadela
Date:
Subject: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it
Next
From: PG Bug reporting form
Date:
Subject: BUG #17800: ON CONFLICT DO UPDATE fails to detect incompatible fields that leads to a server crash