Re: Error message inconsistency
| От | Robert Haas |
|---|---|
| Тема | Re: Error message inconsistency |
| Дата | |
| Msg-id | CA+TgmoZq7fW795-HUSp6Gnqxuic4+E39ZH0jjF_QFUNbgxq0OA@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Error message inconsistency (Amit Kapila <amit.kapila16@gmail.com>) |
| Список | pgsql-hackers |
On Fri, Jan 24, 2020 at 12:22 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > One thing to note is that there are places in code where we use > 'table' instead of 'relation' for the same thing in the error messages > as seen in the below places (the first one uses 'relation', the second > one uses 'table') and the patch is using 'relation' which I think is > fine. We often use "relation" as a sort of a weasel-word when we don't know the relkind; i.e. when we're complaining about something that might be a view or index or foreign table or whatever. If we say "table," we need to know that it is, precisely, a table. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: