Re: automatically generating node support functions

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: automatically generating node support functions
Date: 2022-07-04 12:23:36
Message-ID: 57df9f30-d2cf-9126-28d4-ae40a2e733a9@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03.07.22 21:14, Tom Lane wrote:
> Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> writes:
>> Here is a patch that reformats the relevant (and a few more) comments
>> that way. This has been run through pgindent, so the formatting should
>> be stable.
>
> Now that that's been pushed, the main patch is of course quite broken.
> Are you working on a rebase?

attached

> * AFAICT, the infrastructure for removing the generated files at
> "make *clean" is incomplete.

I have fixed all the makefiles per your suggestions.

> and something similar to this for the "clean" rule:
> # fmgroids.h, fmgrprotos.h, fmgrtab.c, fmgr-stamp, and errcodes.h are in the
> # distribution tarball, so they are not cleaned here.

Except this one, since there is no clean rule. I think seeing that
files are listed under a maintainer-clean target conveys that same message.

> Also, I share David's upthread allergy to the option names "path_hackN"
> and to documenting those only inside the conversion script.

I'll look into that again.

> BTW, I think this: "Unknown attributes are ignored" is a seriously
> bad idea; it will allow typos to escape detection.

good point

Attachment Content-Type Size
v6-0001-Automatically-generate-node-support-functions.patch text/plain 71.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Euler Taveira 2022-07-04 12:28:58 Re: Re-order "disable_on_error" in tab-complete COMPLETE_WITH
Previous Message Przemysław Sztoch 2022-07-04 11:08:33 Re: generate_series for timestamptz and time zone problem