Add regression tests for ALTER MATERIALIZED VIEW with tablespaces
authorMichael Paquier <michael@paquier.xyz>
Sat, 19 Mar 2022 08:28:50 +0000 (17:28 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 19 Mar 2022 08:28:50 +0000 (17:28 +0900)
commitade2159bcdc18939d4e9b1773d12fe06cfcd201d
treee03d041fbc68eeda713ea78d78beb77e47d6e33b
parent9616da3ddbc14de43c34676f92aa061dad8caefb
Add regression tests for ALTER MATERIALIZED VIEW with tablespaces

The clauses SET TABLESPACE and ALL IN TABLESPACE are supported in ALTER
MATERIALIZED VIEW for a long time, and they behave mostly like ALTER
TABLE by reusing the same code paths, but there were zero tests for
them.  This commit closes the gap with new tests in tablespace.sql.

Author: Yugo Nagata
Discussion: https://postgr.es/m/20220316133337.5dc9740abfa24c25ec9f67f5@sraoss.co.jp
src/test/regress/expected/tablespace.out
src/test/regress/sql/tablespace.sql