Re: unsafe tuple releasing in get_default_partition_oid

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Robert Haas <robertmhaas(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 17:44:24
Message-ID: CAOBaU_bBGrMULgXKV-sPEQfb-ScKo6UmpZMf==3KFJO4QhWWGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Oct 28, 2017 at 11:13 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> 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.

Thanks!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2017-10-28 18:39:33 Re: MERGE SQL Statement for PG11
Previous Message Andres Freund 2017-10-28 17:16:15 Re: Current int & float overflow checking is slow.