diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-08-05 12:14:58 +0900 |
commit | 8548ddc61b5858b6466e69f66a6b1a7ea9daef06 (patch) | |
tree | e94be5d2f212ed5185180b0ebbb5fc060e1f32b6 /src/backend/access/heap | |
parent | 75506195da81d75597a4025b72f8367e6c45f60d (diff) | |
download | postgresql-8548ddc61b5858b6466e69f66a6b1a7ea9daef06.tar.gz postgresql-8548ddc61b5858b6466e69f66a6b1a7ea9daef06.zip |
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and
unreferenced variables.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
Diffstat (limited to 'src/backend/access/heap')
-rw-r--r-- | src/backend/access/heap/heapam.c | 2 | ||||
-rw-r--r-- | src/backend/access/heap/visibilitymap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 94309949fac..e33f019939d 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -74,7 +74,7 @@ static HeapTuple heap_prepare_insert(Relation relation, HeapTuple tup, TransactionId xid, CommandId cid, int options); static XLogRecPtr log_heap_update(Relation reln, Buffer oldbuf, Buffer newbuf, HeapTuple oldtup, - HeapTuple newtup, HeapTuple old_key_tup, + HeapTuple newtup, HeapTuple old_key_tuple, bool all_visible_cleared, bool new_all_visible_cleared); static Bitmapset *HeapDetermineModifiedColumns(Relation relation, Bitmapset *interesting_cols, diff --git a/src/backend/access/heap/visibilitymap.c b/src/backend/access/heap/visibilitymap.c index 64dfe06b261..a08922b0798 100644 --- a/src/backend/access/heap/visibilitymap.c +++ b/src/backend/access/heap/visibilitymap.c @@ -124,7 +124,7 @@ /* prototypes for internal routines */ static Buffer vm_readbuf(Relation rel, BlockNumber blkno, bool extend); -static void vm_extend(Relation rel, BlockNumber nvmblocks); +static void vm_extend(Relation rel, BlockNumber vm_nblocks); /* |