Re: automatically generating node support functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: automatically generating node support functions
Дата
Msg-id c5906b07-220a-a3d4-8ff3-8ee593009424@enterprisedb.com
обсуждение исходный текст
Ответ на Re: automatically generating node support functions  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: automatically generating node support functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: postgres_fdw has insufficient support for large object
Следующее
От: John Naylor
Дата:
Сообщение: Re: A qsort template