diff options
author | Neil Conway <neilc@samurai.com> | 2006-01-11 08:43:13 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2006-01-11 08:43:13 +0000 |
commit | fb627b76ccc4c7074e37b6b94155864f6cbd1b23 (patch) | |
tree | a8e7b008b4f6c2a2188641937e5b984f40b60104 /src/backend/access/heap/heapam.c | |
parent | 762bcbdba2a2519b01b17b2c2b28f36e5ee9ea25 (diff) |
Cosmetic code cleanup: fix a bunch of places that used "return (expr);"
rather than "return expr;" -- the latter style is used in most of the
tree. I kept the parentheses when they were necessary or useful because
the return expression was complex.
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index eeacff56c9d..4ba8e8fc6d9 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.205 2005/11/26 05:03:06 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.206 2006/01/11 08:43:11 neilc Exp $ * * * INTERFACE ROUTINES @@ -2796,7 +2796,7 @@ log_heap_clean(Relation reln, Buffer buffer, OffsetNumber *unused, int uncnt) recptr = XLogInsert(RM_HEAP_ID, XLOG_HEAP_CLEAN, rdata); - return (recptr); + return recptr; } static XLogRecPtr @@ -2884,14 +2884,14 @@ log_heap_update(Relation reln, Buffer oldbuf, ItemPointerData from, recptr = XLogInsert(RM_HEAP_ID, info, rdata); - return (recptr); + return recptr; } XLogRecPtr log_heap_move(Relation reln, Buffer oldbuf, ItemPointerData from, Buffer newbuf, HeapTuple newtup) { - return (log_heap_update(reln, oldbuf, from, newbuf, newtup, true)); + return log_heap_update(reln, oldbuf, from, newbuf, newtup, true); } static void |