pgsql: Avoid harmless warning from pg_dump --if-exists mode.

2023-01-19 Thread Tom Lane
Avoid harmless warning from pg_dump --if-exists mode. If the public schema has a non-default owner (perhaps due to dropping and recreating it) then use of pg_dump's "--if-exists" option results in a warning message: warning: could not find where to insert IF EXISTS in statement "-- *not* droppin

pgsql: Avoid harmless warning from pg_dump --if-exists mode.

2023-01-19 Thread Tom Lane
Avoid harmless warning from pg_dump --if-exists mode. If the public schema has a non-default owner (perhaps due to dropping and recreating it) then use of pg_dump's "--if-exists" option results in a warning message: warning: could not find where to insert IF EXISTS in statement "-- *not* droppin