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

From Julien Rouhaud
Subject [HACKERS] unsafe tuple releasing in get_default_partition_oid
Date
Msg-id CAOBaU_Y4omLA+VbsVdA-JwBLoJWiPxfdKCkMjrZM7NMZxa1fKw@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] unsafe tuple releasing in get_default_partition_oid
List pgsql-hackers
Hi,

I just noticed that get_default_partition_oid() tries to release the
tuple even if it isn't valid.
Trivial patch attached.

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

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Transactions involving multiple postgres foreign servers
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] unsafe tuple releasing in get_default_partition_oid