Add missing error codes to PANIC/FATAL error reports in xlog.c and relcache.c

Поиск
Список
Период
Сортировка
От Nazir Bilal Yavuz
Тема Add missing error codes to PANIC/FATAL error reports in xlog.c and relcache.c
Дата
Msg-id CAN55FZ1k8LgLEqncPGmz_fWnrobV6bjABOTH4tOWta6xNcPQig@mail.gmail.com
обсуждение исходный текст
Ответы Re: Add missing error codes to PANIC/FATAL error reports in xlog.c and relcache.c  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Hi,

There is an ongoing thread [1] for adding missing SQL error codes to
PANIC and FATAL error reports in xlogrecovery.c file. I did the same
but for xlog.c and relcache.c files.

I couldn't find a suitable error code for the "cache lookup failed for
relation" error in relcache.c and this error comes up in many places.
Would it be reasonable to create a new error code specifically for
this?

Any kind of feedback would be appreciated.

[1] https://www.postgresql.org/message-id/CAPMWgZ8g17Myb5ZRE5aTNowUohafk4j48mZ_5_Zn9JnR5p2u0w%40mail.gmail.com

-- 
Regards,
Nazir Bilal Yavuz
Microsoft

Вложения

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

Предыдущее
От: "Zhijie Hou (Fujitsu)"
Дата:
Сообщение: Forbid the use of invalidated physical slots in streaming replication.
Следующее
От: "Andrey M. Borodin"
Дата:
Сообщение: Re: Transaction timeout