pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Samo Dadela <samo.dadela@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it
Date: Fri, 17 Feb 2023 13:23:38 -0500
Message-ID: <2713023.1676658218@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFuecfNL96=mKTq71Q6h3297u15+1RnD2D7kmj3+ak++79k1bA@mail.gmail.com>
References: <CAFuecfNL96=mKTq71Q6h3297u15+1RnD2D7kmj3+ak++79k1bA@mail.gmail.com>

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





view thread (3+ messages)  latest in thread

Message-ID: <2713023.1676658218@sss.pgh.pa.us>
Permalink:  ../2713023.1676658218@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2713023.1676658218@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, samo.dadela@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: pg_restore: warning: could not find where to insert IF EXISTS in statement "-- *not* dropping schema, since initdb creates it
  In-Reply-To: <2713023.1676658218@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox