Re: PL/Python: Fix return in the middle of PG_TRY() block.
От
Nathan Bossart
Тема
Re: PL/Python: Fix return in the middle of PG_TRY() block.
Дата
Msg-id
20230504045413.GA2202617@nathanxps13
Ответ на
Re: PL/Python: Fix return in the middle of PG_TRY() block. (Nathan Bossart)
Список
Дерево обсуждения
PL/Python: Fix return in the middle of PG_TRY() block. Xing Guo <higuoxing@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Andres Freund <andres@anarazel.de>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Andres Freund <andres@anarazel.de>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Xing Guo <higuoxing@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Xing Guo <higuoxing@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Tom Lane <tgl@sss.pgh.pa.us>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Andres Freund <andres@anarazel.de>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Tom Lane <tgl@sss.pgh.pa.us>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Tom Lane <tgl@sss.pgh.pa.us>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Nathan Bossart <nathandbossart@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Xing Guo <higuoxing@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Xing Guo <higuoxing@gmail.com>
Re: PL/Python: Fix return in the middle of PG_TRY() block. Michael Paquier <michael@paquier.xyz>
On Wed, May 03, 2023 at 01:58:38PM -0700, Nathan Bossart wrote: > With this change, pltdata isn't modified in the PG_TRY section, and the > only modification of pltargs happens after all elogs. It might be worth > keeping pltargs volatile in case someone decides to add an elog() in the > future, but I see no need to keep it for pltdata. Here's a new patch that removes the volatile marker from pltdata. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Nathan Bossart
Дата: