Re: unsafe tuple releasing in get_default_partition_oid

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unsafe tuple releasing in get_default_partition_oid
Date: 2017-10-28 09:13:20
Message-ID: CA+Tgmobb8bbWvKE0iM19=Q5XjSChzDa_-qSWZsD85XXYNHsHjg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 28, 2017 at 10:03 AM, Julien Rouhaud <rjuju123(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-10-28 09:15:12 Re: Typos in src/backend/optimizer/README
Previous Message Arthur Zakirov 2017-10-28 08:22:29 Re: pg_trgm word_similarity inconsistencies or bug