Обсуждение: pgsql: Make assorted quality-of-life improvements in gen_node_support.p

Поиск
Список
Период
Сортировка

pgsql: Make assorted quality-of-life improvements in gen_node_support.p

От
Tom Lane
Дата:
Make assorted quality-of-life improvements in gen_node_support.pl.

Fix incorrect reporting of the location of errors (such as bogus
node attributes).  Add header comments to the generated files,
containing copyright notices and reminders that they are generated
files, as we do in other file-generating scripts.  Arrange to not
leave a clutter of temporary files when the script detects an error.

Discussion: https://postgr.es/m/3843645.1657385930@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8eccaf65254225921d6fd1f3bfa23e8a0b1f6bbb

Modified Files
--------------
src/backend/nodes/gen_node_support.pl | 124 +++++++++++++++++++++++++++-------
1 file changed, 101 insertions(+), 23 deletions(-)