pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: zpetukhov@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0
Date: Thu, 10 Jun 2021 18:19:51 -0400
Message-ID: <1806869.1623363591@sss.pgh.pa.us> (raw)
In-Reply-To: <17057-5ddf70c25e23468f@postgresql.org>
References: <17057-5ddf70c25e23468f@postgresql.org>

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





view thread (3+ messages)  latest in thread

Message-ID: <1806869.1623363591@sss.pgh.pa.us>
Permalink:  ../1806869.1623363591@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1806869.1623363591@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zpetukhov@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17057: Unexpected error: ERROR: unsupported target type: 0
  In-Reply-To: <1806869.1623363591@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox