Re: vacuumdb: permission denied for schema "pg_temp_7"

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Cc: Christophe Pettus <xof(at)thebuild(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, vaibhave postgres <postgresvaibhave(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, vsekar(at)microsoft(dot)com
Subject: Re: vacuumdb: permission denied for schema "pg_temp_7"
Date: 2024-09-24 23:10:16
Message-ID: ZvNG2H9GzpQ7YrFQ@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Sep 24, 2024 at 11:20:43PM +0900, Fujii Masao wrote:
> On 2024/09/24 10:08, Michael Paquier wrote:
>> Somewhat missed this thread, thanks for the latest activity.
>>
>> If we apply a restriction on the temporary persistence, then we know
>> that vacuumdb will always have a WHERE clause so we can simplify the
>> code and remove the business with has_where like in the attached.
>
> LGTM.

Thanks. As I am kind of behind this one, I'll go fix it first. Let's
sort out the permission bits after that one is sorted out. REL_17_0
is out, so this can happen across all branches.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2024-09-24 23:20:22 Re: vacuumdb: permission denied for schema "pg_temp_7"
Previous Message Andres Freund 2024-09-24 16:13:05 Re: Using a lot of memory in each session.