Re: truncate trigger for foreign data wrappers - Mailing list pgsql-hackers

From Andres Freund
Subject Re: truncate trigger for foreign data wrappers
Date
Msg-id 20160805204125.imrf4qr2rozrqxic@alap3.anarazel.de
Whole thread Raw
In response to Re: truncate trigger for foreign data wrappers  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: truncate trigger for foreign data wrappers
List pgsql-hackers
On 2016-08-05 16:35:02 -0400, Tom Lane wrote:
> In particular, it seems to me that rather than implement just this,
> we really ought to provide an API that lets FDWs actually implement
> TRUNCATE if they feel like it.  Having the trigger and not TRUNCATE
> capability itself just screams "half baked", wouldn't you say?

Both is fine with me. I do object to the position that we need an answer
for all utility commands - that seems like a too high hurdle to pass -
but implementing truncate for FDWs directly sounds good.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: truncate trigger for foreign data wrappers
Next
From: Tom Lane
Date:
Subject: Re: truncate trigger for foreign data wrappers