| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Fix ancient get_object_address_opf_member bug |
| Date: | 2017-03-16 15:51:50 |
| Message-ID: | E1coXgs-000211-Cc@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2017-03-16 15:56:24 | Re: [COMMITTERS] pgsql: Remove objname/objargs split for referring to objects |
| Previous Message | Petr Jelinek | 2017-03-16 12:00:54 | Re: [COMMITTERS] pgsql: Use asynchronous connect API in libpqwalreceiver |