Re: MAINTAIN privilege -- what do we need to un-revert it?

From: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)postgresql(dot)org, Joe Conway <mail(at)joeconway(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: MAINTAIN privilege -- what do we need to un-revert it?
Date: 2024-09-27 03:42:34
Message-ID: 20240927124234.c5c18d6448c98b52fad62834@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 26 Sep 2024 16:33:06 -0500
Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:

> On Mon, Aug 05, 2024 at 04:05:02PM +0900, Yugo Nagata wrote:
> > + <para>
> > + While <command>CREATE MATERIALIZED VIEW</command> is running, the <xref
> > + linkend="guc-search-path"/> is temporarily changed to <literal>pg_catalog,
> > + pg_temp</literal>.
> > + </para>
>
> I think we should mention that this is not true when WITH NO DATA is used.
> Maybe something like:
>
> Unless WITH NO DATA is used, the search_path is temporarily changed to
> pg_catalog, pg_temp while CREATE MATERIALIZED VIEW is running.
>

I agree with you. I overlooked WITH NO DATA.
I attached a updated patch.

Regards,
Yugo Nagata

--
Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>

Attachment Content-Type Size
v2_doc_create_matview_search_path.patch text/x-diff 740 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2024-09-27 03:53:43 Re: Eager aggregation, take 3
Previous Message Yugo NAGATA 2024-09-27 03:26:22 Re: Add has_large_object_privilege function