Re: automatically generating node support functions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: automatically generating node support functions
Date
Msg-id c5906b07-220a-a3d4-8ff3-8ee593009424@enterprisedb.com
Whole thread Raw
In response to Re: automatically generating node support functions  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: automatically generating node support functions
List pgsql-hackers
On 25.03.22 14:08, Peter Eisentraut wrote:
>> 2. Some of these comment lines have become pretty long after having
>> added the attribute macro.
>>
>> e.g.
>>
>> PlannerInfo *subroot pg_node_attr(readwrite_ignore); /* modified
>> "root" for planning the subquery;
>>     not printed, too large, not interesting enough */
>>
>> I wonder if you'd be better to add a blank line above, then put the
>> comment on its own line, i.e:
>>
>>   /* modified "root" for planning the subquery; not printed, too large,
>> not interesting enough */
>> PlannerInfo *subroot pg_node_attr(readwrite_ignore);
> 
> Yes, my idea was to make a separate patch first that reformats many of 
> the structs and comments in that way.

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.
Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: postgres_fdw has insufficient support for large object
Next
From: John Naylor
Date:
Subject: Re: A qsort template