Remove useless tests about TRUNCATE on foreign table

From: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Remove useless tests about TRUNCATE on foreign table
Date: 2022-05-27 08:25:43
Message-ID: 20220527172543.0a2fdb469cf048b81c0967d3@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

I found that tests for TRUNCATE on foreign tables are left
in the foreign_data regression test. Now TRUNCATE on foreign
tables are allowed, so I think the tests should be removed.

Currently, the results of the test is
"ERROR: foreign-data wrapper "dummy" has no handler",
but it is just because the foreign table has no handler,
not due to TRUNCATE.

The patch is attached.

Regards,
Yugo Nagata

--
Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>

Attachment Content-Type Size
fix_foreign_data_test.patch text/x-diff 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-05-27 08:38:25 Re: Handle infinite recursion in logical replication setup
Previous Message Peter Eisentraut 2022-05-27 08:11:15 Re: enable/disable broken for statement triggers on partitioned tables