Re: Incorrect format in error message
От | Tom Lane |
---|---|
Тема | Re: Incorrect format in error message |
Дата | |
Msg-id | 26659.1459485031@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Incorrect format in error message (David Rowley <david.rowley@2ndquadrant.com>) |
Ответы |
Re: Incorrect format in error message
Re: Incorrect format in error message |
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: