Re: Reworks of CustomScan serialization/deserialization

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Petr Jelinek <petr(at)2ndquadrant(dot)com>
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: Reworks of CustomScan serialization/deserialization
Date: 2016-03-24 15:26:45
Message-ID: CA+TgmobxmY9Z_HPx7o+CFCrq8YyXCVNjme97zAjswzyedfFfbQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 23, 2016 at 1:36 PM, Petr Jelinek <petr(at)2ndquadrant(dot)com> wrote:
> Ok, I am happy with it, marked it as ready for committer (it was marked as
> committed although it wasn't committed).

Thanks for fixing the status. I had forgotten about this thread.

I can't really endorse the naming conventions here. I mean, we've got
the main extensible nodes stuff in extensible.h, and then we've got
this stuff in custom_node.h (BTW, there is a leftover reference to
custom-node.h). There's no hint in the naming that this relates to
scans, and why is it extensible in one place and custom in another?

I'm not quite sure how to clean this up. At a minimum, I think we
should standardize on "custom_scan.h" instead of "custom_node.h". I
think that would be clearer. But I'm wondering if we should bite the
bullet and rename everything from "custom" to "extensible" and declare
it all in "extensible.h".

src/backend/nodes/custom_node.c:45: indent with spaces.
+ }

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-03-24 15:30:36 Re: [BUGS] BUG #13854: SSPI authentication failure: wrong realm name used
Previous Message Tom Lane 2016-03-24 15:26:16 Re: NOT EXIST for PREPARE