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/access/common | |
| parent | 3982368a4e2ae08659c1bd7536c91ec9c08a6139 (diff) | |
| download | postgresql-9322950aa44ef3647ccdd043cffe92cead171587.tar.gz | |
Cleanup of source files where 'return' or 'var =' is alone on a line.
Diffstat (limited to 'src/backend/access/common')
| -rw-r--r-- | src/backend/access/common/heaptuple.c | 5 | ||||
| -rw-r--r-- | src/backend/access/common/tupdesc.c | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index 4cf0098f5e..9e16cabd37 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.47 1999/01/24 22:53:25 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.48 1999/02/03 21:15:27 momjian Exp $ * * NOTES * The old interface functions have been converted to macros @@ -759,8 +759,7 @@ heap_modifytuple(HeapTuple tuple, if (repl[attoff] == ' ') { - value[attoff] = - heap_getattr(tuple, + value[attoff] = heap_getattr(tuple, AttrOffsetGetAttrNumber(attoff), RelationGetDescr(relation), &isNull); diff --git a/src/backend/access/common/tupdesc.c b/src/backend/access/common/tupdesc.c index 41f2869c46..7dd94dd883 100644 --- a/src/backend/access/common/tupdesc.c +++ b/src/backend/access/common/tupdesc.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.46 1998/12/14 05:18:30 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/tupdesc.c,v 1.47 1999/02/03 21:15:27 momjian Exp $ * * NOTES * some of the executor utility code such as "ExecTypeFromTL" should be @@ -115,8 +115,7 @@ CreateTupleDescCopy(TupleDesc tupdesc) desc->attrs = (Form_pg_attribute *) palloc(size); for (i = 0; i < desc->natts; i++) { - desc->attrs[i] = - (Form_pg_attribute) palloc(ATTRIBUTE_TUPLE_SIZE); + desc->attrs[i] = (Form_pg_attribute) palloc(ATTRIBUTE_TUPLE_SIZE); memmove(desc->attrs[i], tupdesc->attrs[i], ATTRIBUTE_TUPLE_SIZE); @@ -150,8 +149,7 @@ CreateTupleDescCopyConstr(TupleDesc tupdesc) desc->attrs = (Form_pg_attribute *) palloc(size); for (i = 0; i < desc->natts; i++) { - desc->attrs[i] = - (Form_pg_attribute) palloc(ATTRIBUTE_TUPLE_SIZE); + desc->attrs[i] = (Form_pg_attribute) palloc(ATTRIBUTE_TUPLE_SIZE); memmove(desc->attrs[i], tupdesc->attrs[i], ATTRIBUTE_TUPLE_SIZE); |
