mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Remove unused variable
Cédric Villemain
This commit is contained in:
parent
4d7d6386d7
commit
4c60a77508
@ -8641,7 +8641,6 @@ ATExecAddOf(Relation rel, const TypeName *ofTypename, LOCKMODE lockmode)
|
|||||||
{
|
{
|
||||||
Oid relid = RelationGetRelid(rel);
|
Oid relid = RelationGetRelid(rel);
|
||||||
Type typetuple;
|
Type typetuple;
|
||||||
Form_pg_type typ;
|
|
||||||
Oid typeid;
|
Oid typeid;
|
||||||
Relation inheritsRelation,
|
Relation inheritsRelation,
|
||||||
relationRelation;
|
relationRelation;
|
||||||
@ -8658,7 +8657,6 @@ ATExecAddOf(Relation rel, const TypeName *ofTypename, LOCKMODE lockmode)
|
|||||||
/* Validate the type. */
|
/* Validate the type. */
|
||||||
typetuple = typenameType(NULL, ofTypename, NULL);
|
typetuple = typenameType(NULL, ofTypename, NULL);
|
||||||
check_of_type(typetuple);
|
check_of_type(typetuple);
|
||||||
typ = (Form_pg_type) GETSTRUCT(typetuple);
|
|
||||||
typeid = HeapTupleGetOid(typetuple);
|
typeid = HeapTupleGetOid(typetuple);
|
||||||
|
|
||||||
/* Fail if the table has any inheritance parents. */
|
/* Fail if the table has any inheritance parents. */
|
||||||
|
Loading…
Reference in New Issue
Block a user