Inconsistent error message wording for REINDEX CONCURRENTLY

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Inconsistent error message wording for REINDEX CONCURRENTLY
Дата
Msg-id 23694.1556806002@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Inconsistent error message wording for REINDEX CONCURRENTLY  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
In view of the REINDEX-on-pg_class kerfuffle that we're currently
sorting through, I was very glad to see that the concurrent reindex
code doesn't even try:

regression=# reindex index concurrently pg_class_oid_index;
psql: ERROR:  concurrent reindex is not supported for catalog relations
regression=# reindex table concurrently pg_class;
psql: ERROR:  concurrent index creation on system catalog tables is not supported

It'd be nice though if those error messages gave the impression of having
been written on the same planet.

(It might be worth comparing wording of other errors-in-common between
what are evidently two completely different code paths...)

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: walsender vs. XLogBackgroundFlush during shutdown
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fixing order of resowner cleanup in 12, for Windows