diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c index 85079d620ee..7cb46e12787 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,