From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-committers@postgresql.org
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: [HACKERS] pgsql: Add missing support for new node fields
Date: Tue, 21 Mar 2017 21:50:45 +0100 (CET)
Message-ID: <alpine.DEB.2.20.1703212146050.22754@lancre> (raw)
In-Reply-To: <20170321062850.koa557zw3gqyl4lm@alap3.anarazel.de>
References: <E1cq93r-0004ey-Mp@gemulon.postgresql.org>
<alpine.DEB.2.20.1703210716370.22282@lancre>
<20170321062850.koa557zw3gqyl4lm@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Hello Andres,
>> It is not done yet, but it looks that it can work in the end with limited
>> effort. Currently it works for copy & equal.
>
> It'd have to do out/read as well imo.
Sure. This part is WIP, though.
>> Is there some interest to generate the x00kB of sources rather than edit
>> them everytime, or forgetting it from time to time, or does everyone like it
>> as it is?
>
> From my POV yes. But it's not quite as trivial as just generating it
> based on fields. Some fields are intentionally skipped, e.g. location,
> for equalfuncs, but not copy/out/readfuncs. So there needs to be a way
> to specify such special rules.
Indeed, I noticed these particularities... For some case it can be
automated with limited input. For really special cases (eg a few read/out
functions) , the script is told to skip some node types and the special
manual version is taken from the file instead of being generated.
--
Fabien.
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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-committers@postgresql.org
Cc: coelho@cri.ensmp.fr, andres@anarazel.de, andrew@dunslane.net, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] pgsql: Add missing support for new node fields
In-Reply-To: <alpine.DEB.2.20.1703212146050.22754@lancre>
References: <E1cq93r-0004ey-Mp@gemulon.postgresql.org> <alpine.DEB.2.20.1703210716370.22282@lancre> <20170321062850.koa557zw3gqyl4lm@alap3.anarazel.de> <alpine.DEB.2.20.1703212146050.22754@lancre>
* 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