Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0
Date
Msg-id 1806869.1623363591@sss.pgh.pa.us
Whole thread Raw
In response to BUG #17057: Unexpected error: ERROR: unsupported target type: 0  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0  (Zlatoslav Petukhov <zpetukhov@gmail.com>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> I faced with an odd error while developing a stored procedure with
> transaction control inside.

Hi, this works fine for me on all branches back to v11.
I get

NOTICE:  ! 7
NOTICE:  ! 7
NOTICE:  ! 77

which looks like the correct behavior.  I suspect you're hitting
the bug fixed in commit 0ea25ed10, so you need to update to 13.2
or later.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17056: Segmentation fault on altering the type of the foreign table column with a default
Next
From: Andrew Dunstan
Date:
Subject: Re: BUG #17056: Segmentation fault on altering the type of the foreign table column with a default