Re: pltcl crashes due to a syntax error

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Wienhold <ewie@ewie.name>
Cc: Pierre Forstmann <pierre.forstmann@gmail.com>, "a.kozhemyakin" <a.kozhemyakin@postgrespro.ru>, pgsql-hackers@lists.postgresql.org
Date: 2024-06-04T22:03:17Z
Lists: pgsql-hackers
Erik Wienhold <ewie@ewie.name> writes:
> On 2024-06-03 18:57 +0200, Tom Lane wrote:
>> So your thought that we should just not use throw_tcl_error here
>> was correct, and a minimal fix could look like the attached.

> LGTM.

Pushed, thanks.

			regards, tom lane



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix pl/tcl's handling of errors from Tcl_ListObjGetElements().