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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Samo Dadela <samo(dot)dadela(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it
Date: 2023-02-17 18:23:38
Message-ID: 2713023.1676658218@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Samo Dadela <samo(dot)dadela(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-02-18 08:00:00 BUG #17800: ON CONFLICT DO UPDATE fails to detect incompatible fields that leads to a server crash
Previous Message Samo Dadela 2023-02-17 11:21:25 pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it