Re: pltcl crashes due to a syntax error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "a(dot)kozhemyakin" <a(dot)kozhemyakin(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pltcl crashes due to a syntax error
Date: 2024-06-01 18:18:59
Message-ID: 6102.1717265939@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"a.kozhemyakin" <a(dot)kozhemyakin(at)postgrespro(dot)ru> writes:
> When executing the following query on master branch:

> CREATE EXTENSION pltcl;
> CREATE or replace PROCEDURE test_proc5(INOUT a text)
>         LANGUAGE pltcl
>         AS $$
>         set aa [concat $1 "+" $1]
>         return [list $aa $aa])
>         $$;

> CALL test_proc5('abc');
> CREATE EXTENSION
> CREATE PROCEDURE
> server closed the connection unexpectedly

Replicated here. I'll look into it later if nobody beats me
to it. Thanks for the report!

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-06-01 18:52:00 Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Previous Message Alexander Lakhin 2024-06-01 08:00:00 Re: ResourceOwner refactoring