pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression tests for ALTER MATERIALIZED VIEW with tablespace
Date: Sat, 19 Mar 2022 08:31:08 +0000
Message-ID: <E1nVUUN-000OHB-Hg@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1nVUUN-000OHB-Hg@gemulon.postgresql.org>
Permalink:  ../E1nVUUN-000OHB-Hg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nVUUN-000OHB-Hg@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Add regression tests for ALTER MATERIALIZED VIEW with tablespace
  In-Reply-To: <E1nVUUN-000OHB-Hg@gemulon.postgresql.org>
  References: <E1nVUUN-000OHB-Hg@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox