From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix ancient get_object_address_opf_member bug
Date: Thu, 16 Mar 2017 15:51:50 +0000
Message-ID: <E1coXgs-000211-Cc@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix ancient get_object_address_opf_member bug
The original coding was trying to use a TypeName as a string Value,
which doesn't work; an oversight in my commit a61fd533. Repair.
Also, make sure we cover the broken case in the relevant test script.
Backpatch to 9.5.
Discussion: https://postgr.es/m/20170315151829.bhxsvrp75xdxhm3n@alvherre.pgsql
Branch
------
REL9_6_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/41306a511c01dd299115cf447858a00e34aebbf6
Modified Files
--------------
src/backend/catalog/objectaddress.c | 14 +++++++++-----
src/test/regress/expected/object_address.out | 9 +++++++++
src/test/regress/sql/object_address.sql | 6 ++++++
3 files changed, 24 insertions(+), 5 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Fix ancient get_object_address_opf_member bug
In-Reply-To: <E1coXgs-000211-Cc@gemulon.postgresql.org>
References: <E1coXgs-000211-Cc@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox