[PATCH] Improve error message when trying to lock virtual tuple.

Поиск
Список
Период
Сортировка
От Sven Klemm
Тема [PATCH] Improve error message when trying to lock virtual tuple.
Дата
Msg-id CAMCrgp0TBCOWneX6oPpysR3gqp_njgNvBOd45wtpiwMjuoFeMQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Improve error message when trying to lock virtual tuple.
Re: [PATCH] Improve error message when trying to lock virtual tuple.
Список pgsql-hackers
Hello,

When currently trying to lock a virtual tuple the returned error
will be a misleading `could not read block 0`. This patch adds a
check for the tuple table slot being virtual to produce a clearer
error.

This can be triggered by extensions returning virtual tuples.
While this is of course an error in those extensions the resulting
error is very misleading.



-- 
Regards, Sven Klemm

Вложения

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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: FYI: LLVM Runtime Crash
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: using extended statistics to improve join estimates