pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Yugo Nagata <nagata@sraoss.co.jp>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org, Joe Conway <mail@joeconway.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: MAINTAIN privilege -- what do we need to un-revert it?
Date: Thu, 26 Sep 2024 16:33:06 -0500
Message-ID: <ZvXTErNZY-4HizMM@nathan> (raw)
In-Reply-To: <20240805160502.d2a4975802a832b1e04afb80@sraoss.co.jp>
References: <d97b888293e7588164b602850969a4b7d9550cc5.camel@j-davis.com>
	<20240712231149.0d.nmisch@google.com>
	<8e0438821bddd4de198989e6ac0f9a2aa27cabeb.camel@j-davis.com>
	<20240713214748.cb@rfd.leadboat.com.sranhm>
	<20240726122630.70e889f63a4d7e26f8549de8@sraoss.co.jp>
	<a7ce2ffa94cb26e40acf0ed8de857425f4d74727.camel@j-davis.com>
	<20240731182012.45d8231608896732395fc81a@sraoss.co.jp>
	<6bf8a76ebf3215d2226dbc2245d351aae577e4c1.camel@j-davis.com>
	<20240802161301.d975daca9ba7a706fa05ecd7@sraoss.co.jp>
	<20240805160502.d2a4975802a832b1e04afb80@sraoss.co.jp>

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.

-- 
nathan





view thread (30+ messages)  latest in thread

Message-ID: <ZvXTErNZY-4HizMM@nathan>
Permalink:  ../ZvXTErNZY-4HizMM@nathan/
Also on:    postgresql.org/message-id/ZvXTErNZY-4HizMM@nathan

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, nagata@sraoss.co.jp, pgsql@j-davis.com, noah@leadboat.com, michael@paquier.xyz, mail@joeconway.com, robertmhaas@gmail.com
  Subject: Re: MAINTAIN privilege -- what do we need to un-revert it?
  In-Reply-To: <ZvXTErNZY-4HizMM@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox