Re: BUG #17753: pg_dump --if-exists bug
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: justin@tonic.ai, pgsql-bugs@lists.postgresql.org
Date: 2023-01-19T09:50:20Z
Lists: pgsql-bugs
On Thu, 19 Jan 2023 at 22:31, PG Bug reporting form <noreply@postgresql.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
Commits
-
Avoid harmless warning from pg_dump --if-exists mode.
- 74739d1d3ff6 16.0 landed
- 488e89bf725a 15.2 landed