"Tristan Partin" <tristan@partin.io> writes:
> FWIW, I ran into this compiling an extension written in C++ for v15, so
> I'll throw my support for backpatching this if that is still on the
> table. Understandable if not, though.
I'm inclined to think "too late". Even if we back-patched to v15
and earlier now, your extension would probably still want to be
compilable against earlier minor releases, so the back-patch
would not help you a lot. Christoph's workaround of
"#define register" is probably the best answer for old PG versions,
or you can compile with "-Wno-register".
regards, tom lane