git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6630420)
Remove duplicate assignment in new pg_get_object_address() function.
2014年12月28日 17:03:32 +0000 (12:03 -0500)
2014年12月28日 17:03:32 +0000 (12:03 -0500)
Noted by Coverity.


diff --git a/src/backend/catalog/objectaddress.c b/src/backend/catalog/objectaddress.c
index 85079d620eeb989f25f89a4fc0af004f7b9ab3a1..7cb46e127872cece1ef89bb22dd3068537a31fa3 100644 (file)
--- 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,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /