Re: [HACKERS] CustomScan under the Gather node?

2016-02-03 Thread Kouhei Kaigai
> -Original Message- > From: Robert Haas [mailto:robertmh...@gmail.com] > Sent: Thursday, February 04, 2016 2:54 AM > To: Kaigai Kouhei(海外 浩平) > Cc: pgsql-hackers@postgresql.org > Subject: ##freemail## Re: [HACKERS] CustomScan under the Gather node? > > On Thu,

Re: [HACKERS] CustomScan under the Gather node?

2016-02-03 Thread Robert Haas
On Thu, Jan 28, 2016 at 8:14 PM, Kouhei Kaigai wrote: >> total ForeignScandiff >> 0 workers: 17584.319 ms 17555.904 ms 28.415 ms >> 1 workers: 18464.476 ms 18110.968 ms 353.508 ms >> 2 workers: 19042.755 ms 14580.335 ms4462.420

Re: [HACKERS] CustomScan under the Gather node?

2016-01-28 Thread Kouhei Kaigai
> To: 'Robert Haas' > Cc: pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] CustomScan under the Gather node? > > > On Tue, Jan 26, 2016 at 1:30 AM, Kouhei Kaigai <kai...@ak.jp.nec.com> wrote: > > > What enhancement will be necessary to implement similar feature of

Re: [HACKERS] CustomScan under the Gather node?

2016-01-28 Thread Robert Haas
On Thu, Jan 28, 2016 at 10:50 AM, Kouhei Kaigai wrote: >> If I would make a proof-of-concept patch with interface itself, it >> seems to me file_fdw may be a good candidate for this enhancement. >> It is not a field for postgres_fdw. >> > The attached patch is enhancement of

Re: [HACKERS] CustomScan under the Gather node?

2016-01-28 Thread Kouhei Kaigai
> On Thu, Jan 28, 2016 at 10:50 AM, Kouhei Kaigai wrote: > >> If I would make a proof-of-concept patch with interface itself, it > >> seems to me file_fdw may be a good candidate for this enhancement. > >> It is not a field for postgres_fdw. > >> > > The attached patch is

Re: [HACKERS] CustomScan under the Gather node?

2016-01-28 Thread Kouhei Kaigai
nuary 29, 2016 8:51 AM > To: Robert Haas > Cc: pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] CustomScan under the Gather node? > > > On Thu, Jan 28, 2016 at 10:50 AM, Kouhei Kaigai <kai...@ak.jp.nec.com> > > wrote: > > >> If I would make

Re: [HACKERS] CustomScan under the Gather node?

2016-01-27 Thread Kouhei Kaigai
> On Tue, Jan 26, 2016 at 1:30 AM, Kouhei Kaigai wrote: > > What enhancement will be necessary to implement similar feature of > > partial seq-scan using custom-scan interface? > > > > It seems to me callbacks on the three points below are needed. > > * ExecParallelEstimate

Re: [HACKERS] CustomScan under the Gather node?

2016-01-27 Thread Robert Haas
On Tue, Jan 26, 2016 at 1:30 AM, Kouhei Kaigai wrote: > What enhancement will be necessary to implement similar feature of > partial seq-scan using custom-scan interface? > > It seems to me callbacks on the three points below are needed. > * ExecParallelEstimate > *

Re: [HACKERS] CustomScan under the Gather node?

2016-01-26 Thread Kouhei Kaigai
> -Original Message- > From: Amit Kapila [mailto:amit.kapil...@gmail.com] > Sent: Wednesday, January 27, 2016 2:30 PM > To: Kaigai Kouhei(海外 浩平) > Cc: pgsql-hackers@postgresql.org > Subject: ##freemail## Re: [HACKERS] CustomScan under the Gather node? > > On Tue,

Re: [HACKERS] CustomScan under the Gather node?

2016-01-26 Thread Amit Kapila
On Tue, Jan 26, 2016 at 12:00 PM, Kouhei Kaigai wrote: > > Hello, > > What enhancement will be necessary to implement similar feature of > partial seq-scan using custom-scan interface? > > It seems to me callbacks on the three points below are needed. > *

[HACKERS] CustomScan under the Gather node?

2016-01-25 Thread Kouhei Kaigai
Hello, What enhancement will be necessary to implement similar feature of partial seq-scan using custom-scan interface? It seems to me callbacks on the three points below are needed. * ExecParallelEstimate * ExecParallelInitializeDSM * ExecParallelInitializeWorker Anything else? Does