Re: CustomScan and readfuncs.c

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CustomScan and readfuncs.c
Date: 2015-07-29 20:29:10
Message-ID: CA+Tgmob7C-w2b9thditZ-g9=WMRKww81GSir5nDX1ya2AqFpgA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jul 26, 2015 at 11:14 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Um ... wait a second. There is no support in readfuncs for any
> plan node type, and never has been, and I seriously doubt that there
> ever should be.

As KaiGai says, the parallel query stuff contemplates changing this;
how else will we get the plan from the master to each worker? We
could invent a bespoke serialization format, but that seems to have
exactly nothing to recommend it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2015-07-29 20:42:55 Re: upgrade failure from 9.5 to head
Previous Message Robert Haas 2015-07-29 20:26:55 Re: more RLS oversights