Re: TRUNCATE on foreign tables - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: TRUNCATE on foreign tables
Date
Msg-id 20200106074721.GU3598@paquier.xyz
Whole thread Raw
In response to Re: TRUNCATE on foreign tables  (Stephen Frost <sfrost@snowman.net>)
Responses Re: TRUNCATE on foreign tables  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Thu, Jan 02, 2020 at 09:46:44AM -0500, Stephen Frost wrote:
> I agree that the FDW callback should support multiple tables in the
> TRUNCATE, but I think it also should include CASCADE as an option and
> have that be passed on to the FDW to handle.

As much as RESTRICT, ONLY and the INDENTITY clauses, no?  Just think
about postgres_fdw.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: Re: Patch to document base64 encoding
Next
From: Michael Paquier
Date:
Subject: Re: Remove libpq.rc, use win32ver.rc for libpq