doc: Note that CREATE MATERIALIZED VIEW restricts search_path.

Nathan Bossart <nathan@postgresql.org>

Commit: d8ebcac547d7c25c1378e0fc5810528f343ab8d5
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2024-09-27T21:21:21Z
Releases: 18.0
doc: Note that CREATE MATERIALIZED VIEW restricts search_path.

Since v17, CREATE MATERIALIZED VIEW has set search_path to
"pg_catalog, pg_temp" while running the query.  The docs for the
other commands that restrict search_path mention it, but the page
for CREATE MATERIALIZED VIEW does not.  Fix that.

Oversight in commit 4b74ebf726.

Author: Yugo Nagata
Reviewed-by: Jeff Davis
Discussion: https://postgr.es/m/20240805160502.d2a4975802a832b1e04afb80%40sraoss.co.jp
Backpatch-through: 17

Files

PathChange+/−
doc/src/sgml/ref/create_materialized_view.sgml modified +3 −1

Documentation touched

Discussion