Re: vacuumdb: permission denied for schema "pg_temp_7"

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Christophe Pettus <xof(at)thebuild(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-10-07 16:16:33
Message-ID: ZwQJYcuPPUsF0reU@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Regarding commit 1ab67c9...

On Wed, Sep 25, 2024 at 08:10:16AM +0900, Michael Paquier wrote:
> 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.

For consistency with the surrounding code, I think we should schema-qualify
the operator and add a newline after "WHERE relpersistence != 't'". If
folks agree, I can handle committing the attached patch.

--
nathan

Attachment Content-Type Size
fix_1ab67c9.patch text/plain 600 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2024-10-07 19:40:54 Re: vacuumdb: permission denied for schema "pg_temp_7"
Previous Message Zaid Shabbir 2024-10-07 15:32:44 Re: BUG #18646: The problem with the installer