Make object address handling more robust

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

Commit: e4542ca9610c9f32c5048835e62b2538467c415a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-02-20T12:12:02Z
Releases: 9.6.13
Make object address handling more robust

pg_identify_object_as_address crashes when passed certain tuples from
inconsistent system catalogs.  Make it more defensive.

Author: Álvaro Herrera
Reviewed-by: Michaël Paquier
Discussion: https://postgr.es/m/20190218202743.GA12392@alvherre.pgsql

Files

PathChange+/−
src/backend/catalog/objectaddress.c modified +17 −4

Discussion