Re: BUG #17753: pg_dump --if-exists bug

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: justin(at)tonic(dot)ai, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17753: pg_dump --if-exists bug
Date: 2023-01-19 09:50:20
Message-ID: CAApHDvq+JTtZWOrXBrY7LvquyXHoCWWq=DfPYKB4b7BuFiM_8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, 19 Jan 2023 at 22:31, PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> Running pg_dump with the options "--section=pre-data --no-owner
> --no-privileges --no-subscriptions --no-publications --clean --if-exists
> --file=/Users/ju5tinz/Dev/pg_pass_test/pre_data.sql" prints the warning:
> pg_dump: warning: could not find where to insert IF EXISTS in statement "--
> *not* dropping schema, since initdb creates it
> "

Are you able to share the full warning message including the statement?

David

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2023-01-19 10:16:04 RE: DROP DATABASE deadlocks with logical replication worker in PG 15.1
Previous Message houzj.fnst@fujitsu.com 2023-01-19 07:14:28 RE: DROP DATABASE deadlocks with logical replication worker in PG 15.1