doc: Note that CREATE MATERIALIZED VIEW restricts search_path.
authorNathan Bossart
Fri, 27 Sep 2024 21:21:21 +0000 (16:21 -0500)
committerNathan Bossart
Fri, 27 Sep 2024 21:21:21 +0000 (16:21 -0500)
commit18cea252ac74c185f754b3f0007921e7955ed1d6
tree9ab9d00f0ecf1971f3781490cdba9d31d3a928fe
parent1532599a854a7bf0e102d708a288ff96d2722218
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
doc/src/sgml/ref/create_materialized_view.sgml