Re: [HACKERS] unsafe tuple releasing in get_default_partition_oid - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] unsafe tuple releasing in get_default_partition_oid
Date
Msg-id CA+Tgmobb8bbWvKE0iM19=Q5XjSChzDa_-qSWZsD85XXYNHsHjg@mail.gmail.com
Whole thread Raw
In response to [HACKERS] unsafe tuple releasing in get_default_partition_oid  (Julien Rouhaud <rjuju123@gmail.com>)
Responses Re: [HACKERS] unsafe tuple releasing in get_default_partition_oid
List pgsql-hackers
On Sat, Oct 28, 2017 at 10:03 AM, Julien Rouhaud <rjuju123@gmail.com> wrote:
> I just noticed that get_default_partition_oid() tries to release the
> tuple even if it isn't valid.
> Trivial patch attached.

Oops.  I wonder how that managed to survive testing.

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: [HACKERS] unsafe tuple releasing in get_default_partition_oid
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Typos in src/backend/optimizer/README