diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c index 85079d620eeb989f25f89a4fc0af004f7b9ab3a1..7cb46e127872cece1ef89bb22dd3068537a31fa3 100644 --- a/src/backend/catalog/objectaddress.c +++ b/src/backend/catalog/objectaddress.c @@ -1416,7 +1416,6 @@ pg_get_object_address(PG_FUNCTION_ARGS) Relation relation; /* Decode object type, raise error if unknown */ - ttype = TextDatumGetCString(PG_GETARG_TEXT_P(0)); itype = read_objtype_from_string(ttype); if (itype < 0) ereport(ERROR,