Re: BUG #16630: TupleDesc reference leak: TupleDesc 0x7fad89c9c928 (16386,-1) still referenced

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pg(at)pmenke(dot)de
Subject: Re: BUG #16630: TupleDesc reference leak: TupleDesc 0x7fad89c9c928 (16386,-1) still referenced
Date: 2020-09-23 16:28:08
Message-ID: CAFj8pRDndkQ2NDhvpBB1cyTEYL-rtjNr5HBU=Kq4n6YV8S0R9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

st 23. 9. 2020 v 18:12 odesílatel Peter Geoghegan <pg(at)bowt(dot)ie> napsal:

> On Wed, Sep 23, 2020 at 1:47 AM PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
> > ```
> > WARNING: TupleDesc reference leak: TupleDesc 0x7f4207cbcf20 (16386,-1)
> > still referenced
> > WARNING: TupleDesc reference leak: TupleDesc 0x7f4207cbcf20 (16386,-1)
> > still referenced
> > ERROR: tupdesc reference 0x7f4207cbcf20 is not owned by resource owner
> > TopTransaction
> > ```
>
> I can reproduce this on Postgres 13, 12, and 11.
>
> Peter Eisentraut is CC'd as the author of the stored procedures feature.
>

maybe it can be fixed by my patch https://commitfest.postgresql.org/29/2559/

plpgsql-stmt_call-fix-2.patch
<https://www.postgresql.org/message-id/attachment/112489/plpgsql-stmt_call-fix-2.patch>

> --
> Peter Geoghegan
>
>
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-09-23 18:41:29 BUG #16631: postgres_fdw tries to insert into generated columns
Previous Message Peter Geoghegan 2020-09-23 16:12:13 Re: BUG #16630: TupleDesc reference leak: TupleDesc 0x7fad89c9c928 (16386,-1) still referenced