TRUNCATE on foreign table - Mailing list pgsql-hackers

From Kazutaka Onishi
Subject TRUNCATE on foreign table
Date
Msg-id CAJuF6cMWDDqU-vn_knZgma+2GMaout68YUgn1uyDnexRhqqM5Q@mail.gmail.com
Whole thread Raw
Responses Re: TRUNCATE on foreign table
List pgsql-hackers
Hello, 

The attached patch is for supporting "TRUNCATE" on  foreign tables.

This patch includes:
* Adding "ExecForeignTruncate" function into FdwRoutine.
* Enabling "postgres_fdw" to use TRUNCATE.

This patch was proposed by Kaigai-san in March 2020, 
but it was returned because it can't be applied to the latest source codes.

Please refer to the discussion.

I have fixed the patch due to submit it to Commit Fest 2021-03.  

regards,

--
------------------
Kazutaka Onishi
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: pg_replication_origin_drop API potential race condition
Next
From: Andrew Dunstan
Date:
Subject: Re: Fuzz testing COPY FROM parsing