Re: Error message inconsistency
От | Robert Haas |
---|---|
Тема | Re: Error message inconsistency |
Дата | |
Msg-id | CA+TgmoawTpr96rntY=_8hnojp2Zyj0vbK=AaTkran6PkXpqedQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Error message inconsistency (Amit Kapila <amit.kapila16@gmail.com>) |
Список | pgsql-hackers |
On Sun, Mar 24, 2019 at 11:23 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > Fair point. Can such an error message change break any application? > I see some cases where users have check based on Error Code, but not > sure if there are people who have check based on error messages. I'm sure there are -- in fact, I've written code that does that. But I also don't think that's a reason not to improve the error messages. If we start worrying about stuff like this, we'll be unable to ever improve anything. > Anyone else having an opinion on this matter? Basically, I would like > to hear if anybody thinks that this change can cause any sort of > problem. I don't think it's going to cause a problem for users, provided the patch is correct. I wondered whether it was always going to pick up the relation name, e.g. if partitioning is involved, but I didn't check into it at all, so it may be fine. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: