Fix ancient get_object_address_opf_member bug

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 41306a511c01dd299115cf447858a00e34aebbf6
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2017-03-16T15:51:08Z
Releases: 9.6.3
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

Files

Discussion