Re: Sorting case branches in outfuncs.c/outNode alphabetically

2020-12-15 Thread Tom Lane
Fedir Panasenko writes: > outfuncs.c contains a switch statement responsible for choosing > serialization function per node type here: > https://github.com/postgres/postgres/blob/master/src/backend/nodes/outfuncs.c#L3711 Why are you concerned about outfuncs.c in particular? Its sibling files (co

Sorting case branches in outfuncs.c/outNode alphabetically

2020-12-15 Thread Fedir Panasenko
Hi all, outfuncs.c contains a switch statement responsible for choosing serialization function per node type here: https://github.com/postgres/postgres/blob/master/src/backend/nodes/outfuncs.c#L3711 It spans over >650LOC and is quite unreadable, requiring using search or code analysis tools for pr