unsafe tuple releasing in get_default_partition_oid
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-10-28T08:03:10Z
Lists: pgsql-hackers
Attachments
- fix_gdpo-v1.diff (text/plain) patch v1
Hi, I just noticed that get_default_partition_oid() tries to release the tuple even if it isn't valid. Trivial patch attached.
Commits
-
Fix misplaced ReleaseSysCache call in get_default_partition_oid.
- 1310ac258c77 11.0 landed