doc: Mention SET TABLESPACE clause for ALTER MATERIALIZED VIEW
authorMichael Paquier <[email protected]>
Sat, 19 Mar 2022 07:38:02 +0000 (16:38 +0900)
committerMichael Paquier <[email protected]>
Sat, 19 Mar 2022 07:38:02 +0000 (16:38 +0900)
This command flavor is supported, but there was nothing in the
documentation about it.

Author: Yugo Nagata
Discussion: https://postgr.es/m/20220316133337.5dc9740abfa24c25ec9f67f5@sraoss.co.jp
Backpatch-through: 10

doc/src/sgml/ref/alter_materialized_view.sgml

index e27d38df19dd63ec2afdbb7211ceb33bb92fdde3..4b2e822d9333501b69bc78b5dc5b9091a0cc1803 100644 (file)
@@ -42,6 +42,7 @@ ALTER MATERIALIZED VIEW ALL IN TABLESPACE <replaceable class="parameter">name</r
     ALTER [ COLUMN ] <replaceable class="PARAMETER">column_name</replaceable> SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
     CLUSTER ON <replaceable class="PARAMETER">index_name</replaceable>
     SET WITHOUT CLUSTER
+    SET TABLESPACE <replaceable class="PARAMETER">new_tablespace</replaceable>
     SET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [= <replaceable class="PARAMETER">value</replaceable>] [, ... ] )
     RESET ( <replaceable class="PARAMETER">storage_parameter</replaceable> [, ... ] )
     OWNER TO { <replaceable class="PARAMETER">new_owner</replaceable> | CURRENT_USER | SESSION_USER }