David Rowley <david.rowley@2ndquadrant.com> writes:
> The attached fixes an error message which is incorrectly using an
> unsigned format specifier instead of a signed one.
I think that's the tip of the iceberg :-(. For starters, the code
allows ObjectIdAttributeNumber without regard for the fact that the
next line will dump core on a negative attno. Really though, what
astonishes me about this example is that we allow indexes at all on
system columns other than OID. None of the other ones can possibly
have either a use-case or sensible semantics, can they? We certainly
would not stop to update indexes after changing xmax, for example.
regards, tom lane