pgsql: Add regression tests for ALTER MATERIALIZED VIEW with tablespace - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Add regression tests for ALTER MATERIALIZED VIEW with tablespace
Date
Msg-id E1nVUUN-000OHB-Hg@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ade2159bcdc18939d4e9b1773d12fe06cfcd201d

Modified Files
--------------
src/test/regress/expected/tablespace.out | 16 +++++++++++++++-
src/test/regress/sql/tablespace.sql      |  8 ++++++++
2 files changed, 23 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: doc: Mention SET TABLESPACE clause for ALTER MATERIALIZED VIEW
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve handling of SET ACCESS METHOD for ALTER MATERIALIZED VIE