Re: Adding some error context for lock wait failures
От
Tom Lane
Тема
Re: Adding some error context for lock wait failures
Дата
Msg-id
1664608.1752202408@sss.pgh.pa.us
Ответ на
Re: Adding some error context for lock wait failures (Zhang Mingli)
Список
Дерево обсуждения
Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Zhang Mingli <zmlpostgres@gmail.com>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Zhang Mingli <zmlpostgres@gmail.com>
Re: Adding some error context for lock wait failures Dilip Kumar <dilipbalaut@gmail.com>
Re: Adding some error context for lock wait failures Zhang Mingli <zmlpostgres@gmail.com>
Re: Adding some error context for lock wait failures Dilip Kumar <dilipbalaut@gmail.com>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Andres Freund <andres@anarazel.de>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Andres Freund <andres@anarazel.de>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Andres Freund <andres@anarazel.de>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Andres Freund <andres@anarazel.de>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Re: Adding some error context for lock wait failures Tom Lane <tgl@sss.pgh.pa.us>
Zhang Mingli writes: > Do we need to rollback error_context_stack to the previous state if we enter the branch for PG_CATCH()? No. The PG_TRY mechanism itself deals with that: the next outer level of PG_TRY will restore error_context_stack to what it had been. If this were not so, most other places that add an error_context_stack entry would also be broken. regards, tom lane
В списке pgsql-hackers по дате отправления
От: sundayjiang(蒋浩天)
Дата: