diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-02-03 21:18:02 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-02-03 21:18:02 +0000 |
commit | 9322950aa44ef3647ccdd043cffe92cead171587 (patch) | |
tree | ca69b5d9a1278312e21f9e68ce4ac1e236212495 /src/backend/commands/creatinh.c | |
parent | 3982368a4e2ae08659c1bd7536c91ec9c08a6139 (diff) |
Cleanup of source files where 'return' or 'var =' is alone on a line.
Diffstat (limited to 'src/backend/commands/creatinh.c')
-rw-r--r-- | src/backend/commands/creatinh.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/commands/creatinh.c b/src/backend/commands/creatinh.c index 839042ab538..61083a5637f 100644 --- a/src/backend/commands/creatinh.c +++ b/src/backend/commands/creatinh.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.38 1999/02/02 03:44:19 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.39 1999/02/03 21:16:03 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -275,13 +275,11 @@ MergeAttributes(List *schema, List *supers, List **supconstr) * form name, type and constraints */ attributeName = (attribute->attname).data; - tuple = - SearchSysCacheTuple(TYPOID, + tuple = SearchSysCacheTuple(TYPOID, ObjectIdGetDatum(attribute->atttypid), 0, 0, 0); Assert(HeapTupleIsValid(tuple)); - attributeType = - (((Form_pg_type) GETSTRUCT(tuple))->typname).data; + attributeType = (((Form_pg_type) GETSTRUCT(tuple))->typname).data; /* * check validity @@ -468,8 +466,7 @@ StoreCatalogInheritance(Oid relationId, List *supers) if (!HeapTupleIsValid(tuple)) break; - lnext(current) = - lconsi(((Form_pg_inherits) + lnext(current) = lconsi(((Form_pg_inherits) GETSTRUCT(tuple))->inhparent, NIL); |