pgsql: Add regression test for TRUNCATE on foreign table not supporting

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add regression test for TRUNCATE on foreign table not supporting
Date: 2022-07-20 00:36:09
Message-ID: E1oDxhA-000LhV-Qz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add regression test for TRUNCATE on foreign table not supporting TRUNCATE.

file_fdw doesn't support INSERT, UPDATE, DELETE and TRUNCATE.
It has the regression test that confirms that INSERT, UPDATE and DELETE
fail on its foreign table, but not TRUNCATE yet. It's better to
also test TRUNCATE fails on a foreign table not allowing TRUNCATE,
for test coverage. This commit adds that regression test using file_fdw.

Author: Yugo Nagata
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/20220630104812.ec1556481452c019874f4ac9@sraoss.co.jp

Branch
------
master

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

Modified Files
--------------
contrib/file_fdw/expected/file_fdw.out | 2 ++
contrib/file_fdw/sql/file_fdw.sql | 1 +
2 files changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-07-20 00:51:40 pgsql: Tweak detail and hint messages to be consistent with project pol
Previous Message Andres Freund 2022-07-19 22:44:35 Re: pgsql: Default to hidden visibility for extension libraries where possi