Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f08452

Browse files
committed
Remove unused variable to silence compiler warning
1 parente54ae78 commit9f08452

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎src/backend/commands/typecmds.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,6 @@ AlterDomainValidateConstraint(List *names, char *constrName)
20462046
Relationtyprel;
20472047
Relationconrel;
20482048
HeapTupletup;
2049-
Form_pg_typetypTup;
20502049
Form_pg_constraintcon=NULL;
20512050
Form_pg_constraintcopy_con;
20522051
char*conbin;
@@ -2068,7 +2067,6 @@ AlterDomainValidateConstraint(List *names, char *constrName)
20682067
tup=SearchSysCache1(TYPEOID,ObjectIdGetDatum(domainoid));
20692068
if (!HeapTupleIsValid(tup))
20702069
elog(ERROR,"cache lookup failed for type %u",domainoid);
2071-
typTup= (Form_pg_type)GETSTRUCT(tup);
20722070

20732071
/* Check it's a domain and check user has permission for ALTER DOMAIN */
20742072
checkDomainOwner(tup);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp