pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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-000212-Cf@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_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/087e696f066d31cb2f1269a1296a13dfe0bf7a11

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


view thread (3+ messages)  latest in thread

Message-ID: <E1coXgs-000212-Cf@gemulon.postgresql.org>
Permalink:  ../E1coXgs-000212-Cf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1coXgs-000212-Cf@gemulon.postgresql.org

 · 

reply

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-000212-Cf@gemulon.postgresql.org>
  References: <E1coXgs-000212-Cf@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