Replace run-time error check with assertion

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Replace run-time error check with assertion
Дата
Msg-id 452e9df8-ec89-e01b-b64a-8cc6ce830458@enterprisedb.com
обсуждение исходный текст
Ответы Re: Replace run-time error check with assertion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In the attached patch, the error message was checking that the 
structures returned from the parser matched expectations.  That's 
something we usually use assertions for, not a full user-facing error 
message.  So I replaced that with an assertion (hidden inside 
lfirst_node()).

Вложения

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: Assertion failure while streaming toasted data
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: parallel vacuum - few questions on docs, comments and code