Re: vacuumdb: permission denied for schema "pg_temp_7" - Mailing list pgsql-bugs

From Christophe Pettus
Subject Re: vacuumdb: permission denied for schema "pg_temp_7"
Date
Msg-id 8F7C7040-1163-440E-9182-53AF34C606D4@thebuild.com
Whole thread Raw
In response to Re: vacuumdb: permission denied for schema "pg_temp_7"  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-bugs

> On Sep 24, 2024, at 07:30, Nathan Bossart <nathandbossart@gmail.com> wrote:
> I think it'd be fine to continue with a warning when --all is used, but if
> you specify a --dbname that you cannot connect to, then I think it should
> fail.

Yes, that's essentially my proposal.  If --all is not specified, or if it cannot make the initial connection to
determinewhich databases are in the instance, it stops with a fatal error just as it does now. 


pgsql-bugs by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: vacuumdb: permission denied for schema "pg_temp_7"
Next
From: Laurenz Albe
Date:
Subject: Re: Using a lot of memory in each session.