Re: pltcl crashes due to a syntax error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pltcl crashes due to a syntax error
Date
Msg-id 6102.1717265939@sss.pgh.pa.us
Whole thread Raw
In response to pltcl crashes due to a syntax error  ("a.kozhemyakin" <a.kozhemyakin@postgrespro.ru>)
List pgsql-hackers
"a.kozhemyakin" <a.kozhemyakin@postgrespro.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



pgsql-hackers by date:

Previous
From: Alexander Lakhin
Date:
Subject: Re: ResourceOwner refactoring
Next
From: Andres Freund
Date:
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?