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

From: Samo Dadela <samo(dot)dadela(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-22 09:04:04
Message-ID: CAFuecfNVrPyMJ4qBh1Hcy-P=eMLF8PQSzeQJp4mdyN3D3dTJsA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks!

On Fri, Feb 17, 2023 at 7:23 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> 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

Browse pgsql-bugs by date

  From Date Subject
Next Message Dean Rasheed 2023-02-22 09:07:44 Re: BUG #17803: Rule "ALSO INSERT ... SELECT ..." fails to substitute default values
Previous Message Alexander Lakhin 2023-02-22 08:00:01 Re: BUG #17803: Rule "ALSO INSERT ... SELECT ..." fails to substitute default values