On 12.08.23 23:14, Andres Freund wrote:
It's a somewhat annoying task though, find all the typedefs, add them to the right place in the file (we have an out of order entry right now). I think a script that*adds* (but doesn't remove) local typedefs would make this less painful.
I was puzzled once that there does not appear to be such a script available. Whatever the buildfarm does (before it merges it all together) should be available locally. Then the workflow could be
type type type compile update typedefs pgindent commit