Skip to content

Commit 9a11df1

Browse files
committed
Remove duplicate assignment in new pg_get_object_address() function.
Noted by Coverity.
1 parent 6630420 commit 9a11df1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/catalog/objectaddress.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,6 @@ pg_get_object_address(PG_FUNCTION_ARGS)
14161416
Relation relation;
14171417

14181418
/* Decode object type, raise error if unknown */
1419-
ttype = TextDatumGetCString(PG_GETARG_TEXT_P(0));
14201419
itype = read_objtype_from_string(ttype);
14211420
if (itype < 0)
14221421
ereport(ERROR,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy