Re: TRUNCATE on foreign table

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: Kohei KaiGai <kaigai(at)heterodb(dot)com>, Kazutaka Onishi <onishi(at)heterodb(dot)com>, Zhihong Yu <zyu(at)yugabyte(dot)com>, Amit Langote <amitlangote09(at)gmail(dot)com>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Subject: Re: TRUNCATE on foreign table
Date: 2021-04-27 09:40:49
Message-ID: 8a850179-f2b1-f749-2bf4-262e71e3b56e@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/04/27 15:02, Bharath Rupireddy wrote:
> On Tue, Apr 27, 2021 at 11:19 AM Fujii Masao
> <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote:
>>> In docs v4 patch, I think we can combine below two lines into a single line:
>>> + supported by the foreign data wrapper,
>>> see <xref linkend="postgres-fdw"/>.
>>
>> You mean "supported by the foreign data wrapper <xref linkend="postgres-fdw"/>"?
>>
>> I was thinking that it's better to separate them because postgres_fdw
>> is just an example of the foreign data wrapper supporting TRUNCATE.
>> This makes me think again; isn't it better to add "for example" or
>> "for instance" into after "data wrapper"? That is,
>>
>> <command>TRUNCATE</command> can be used for foreign tables if
>> supported by the foreign data wrapper, for instance,
>> see <xref linkend="postgres-fdw"/>.
>
> +1.

Pushed. Thanks!

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2021-04-27 09:51:06 CREATE COLLATION - check for duplicate options and error out if found one
Previous Message Aleksander Alekseev 2021-04-27 09:33:25 Re: Bug fix for tab completion of ALTER TABLE ... VALIDATE CONSTRAINT ...