mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Remove duplicate assignment in new pg_get_object_address() function.
Noted by Coverity.
This commit is contained in:
parent
6630420fc9
commit
9a11df1449
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user