| From: | vaibhave postgres <postgresvaibhave(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Nathan Bossart <nathandbossart(at)gmail(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-21 06:12:19 |
| Message-ID: | CAM_eQjyWnu_LUt6JWjh3boNFHAT9DBrcbamhG3Xy39Q4Ph=2rg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Thanks for the review and feedback.
On Sat, Sep 21, 2024 at 11:33 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> writes:
> > It looks like reindexdb has the same issue. It would be good to
> > update reindexdb to skip temp tables as well to fix this.
>
> Agreed.
>
> > For the proposed patch, it seems better to use
> CppAsString2(RELPERSISTENCE_TEMP)
> > instead of 't'.
>
> +1, if we can easily avoid hard-coding that value we should do so.
> It's not that we're going to change the value; it's that it makes
> it way easier to grep the source tree for relevant code.
>
> regards, tom lane
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | neral85 | 2024-09-21 09:51:10 | AW: BUG #18615: installer cannot be executed as "nt-autorität\system" |
| Previous Message | Tom Lane | 2024-09-21 06:03:15 | Re: vacuumdb: permission denied for schema "pg_temp_7" |