pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Kohei KaiGai <kaigai@heterodb.com>
Cc: Kazutaka Onishi <onishi@heterodb.com>
Cc: Zhihong Yu <zyu@yugabyte.com>
Cc: Amit Langote <amitlangote09@gmail.com>
Cc: Ibrar Ahmed <ibrar.ahmad@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Subject: Re: TRUNCATE on foreign table
Date: Tue, 27 Apr 2021 14:49:54 +0900
Message-ID: <1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com> (raw)
In-Reply-To: <CALj2ACWjmZkLQ2fu_AsAiCs9e7dZwLOY0J=xAaz4AtQ96W37rg@mail.gmail.com>
References: <CAJuF6cMWDDqU-vn_knZgma+2GMaout68YUgn1uyDnexRhqqM5Q@mail.gmail.com>
	<70310892-3572-f143-a692-e9aa4322a914@oss.nttdata.com>
	<CALj2ACX7UYyg9tsqqS7akc5eSiwBLevM-ZfX00haFrdZrq2tgg@mail.gmail.com>
	<a1975489-a32d-dc2b-c117-cd36495d82fa@oss.nttdata.com>
	<CALj2ACUvkyyEP0YM5WPGfgXtTqYTMBE2Jzy8C1oX6_DcHTxf=g@mail.gmail.com>
	<2ec345ad-9a7b-a21f-8a1b-04c0537ea9b8@oss.nttdata.com>
	<CALj2ACUvuYrCi7G54Yov0oc_D9Zz6O157mtru72J-zxYYWf_3w@mail.gmail.com>
	<94c99273-4b06-1b13-98da-a716e0454cac@oss.nttdata.com>
	<CALj2ACVSCpLyzoCp10EpuvpbRwh2er56B4Dw42Gyp7EYdNxYew@mail.gmail.com>
	<45bf0b95-b8e8-b1ee-015e-0cb4cf732def@oss.nttdata.com>
	<CALj2ACX-Fasf-M3+Rw9tFzvOaD1fzs9EQ9aiQpzwrVLqE_=+tw@mail.gmail.com>
	<9529495b-b5b2-a874-4b84-161c3a0fd2ec@oss.nttdata.com>
	<CALj2ACUQ+6gsCBQBwfCjmg34JTtLJaEpNWh_+g860278m88AMw@mail.gmail.com>
	<32055c4d-fc0e-fb4d-6c31-5a4d084e4fda@oss.nttdata.com>
	<CALj2ACWjmZkLQ2fu_AsAiCs9e7dZwLOY0J=xAaz4AtQ96W37rg@mail.gmail.com>



On 2021/04/26 13:52, Bharath Rupireddy wrote:
> On Fri, Apr 23, 2021 at 9:50 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
>> Thanks for the review! I fixed this.
> 
> Thanks for the updated patches.
> 
> 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"/>.


> Other than the above minor change, both patches look good to me, I
> have no further comments.

Thanks! I pushed the patch truncate_foreign_table_dont_pass_only_clause_xx.patch, at first.

Regards,

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





view thread (117+ messages)  latest in thread

Message-ID: <1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com>
Permalink:  ../1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com/
Also on:    postgresql.org/message-id/1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, bharath.rupireddyforpostgres@gmail.com, kaigai@heterodb.com, onishi@heterodb.com, zyu@yugabyte.com, amitlangote09@gmail.com, ibrar.ahmad@gmail.com, ashutosh.bapat.oss@gmail.com
  Subject: Re: TRUNCATE on foreign table
  In-Reply-To: <1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com>
  References: <CAJuF6cMWDDqU-vn_knZgma+2GMaout68YUgn1uyDnexRhqqM5Q@mail.gmail.com> <CALj2ACX7UYyg9tsqqS7akc5eSiwBLevM-ZfX00haFrdZrq2tgg@mail.gmail.com> <a1975489-a32d-dc2b-c117-cd36495d82fa@oss.nttdata.com> <CALj2ACUvkyyEP0YM5WPGfgXtTqYTMBE2Jzy8C1oX6_DcHTxf=g@mail.gmail.com> <2ec345ad-9a7b-a21f-8a1b-04c0537ea9b8@oss.nttdata.com> <CALj2ACUvuYrCi7G54Yov0oc_D9Zz6O157mtru72J-zxYYWf_3w@mail.gmail.com> <94c99273-4b06-1b13-98da-a716e0454cac@oss.nttdata.com> <CALj2ACVSCpLyzoCp10EpuvpbRwh2er56B4Dw42Gyp7EYdNxYew@mail.gmail.com> <45bf0b95-b8e8-b1ee-015e-0cb4cf732def@oss.nttdata.com> <CALj2ACX-Fasf-M3+Rw9tFzvOaD1fzs9EQ9aiQpzwrVLqE_=+tw@mail.gmail.com> <9529495b-b5b2-a874-4b84-161c3a0fd2ec@oss.nttdata.com> <CALj2ACUQ+6gsCBQBwfCjmg34JTtLJaEpNWh_+g860278m88AMw@mail.gmail.com> <32055c4d-fc0e-fb4d-6c31-5a4d084e4fda@oss.nttdata.com> <CALj2ACWjmZkLQ2fu_AsAiCs9e7dZwLOY0J=xAaz4AtQ96W37rg@mail.gmail.com> <1937f0f9-1ac6-c05e-a7d4-6cd30ec18be6@oss.nttdata.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox