From b78364df1850a09ece442a138118f4be1a451366 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Tue, 28 Jun 2016 16:01:13 -0400 Subject: Remove unused arguments in two GiST subroutines These arguments became unused in commit 2c03216d8311. Noticed while skimming code for unrelated development. This is cosmetic, so no backpatch. --- src/backend/access/gist/gist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/access/gist/gist.c') diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index fdf0c5a5cf4..e8034b9cd6d 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -467,7 +467,7 @@ gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate, /* Write the WAL record */ if (RelationNeedsWAL(rel)) - recptr = gistXLogSplit(rel->rd_node, blkno, is_leaf, + recptr = gistXLogSplit(is_leaf, dist, oldrlink, oldnsn, leftchildbuf, markfollowright); else @@ -523,7 +523,7 @@ gistplacetopage(Relation rel, Size freespace, GISTSTATE *giststate, ndeloffs = 1; } - recptr = gistXLogUpdate(rel->rd_node, buffer, + recptr = gistXLogUpdate(buffer, deloffs, ndeloffs, itup, ntup, leftchildbuf); @@ -1541,7 +1541,7 @@ gistvacuumpage(Relation rel, Page page, Buffer buffer) { XLogRecPtr recptr; - recptr = gistXLogUpdate(rel->rd_node, buffer, + recptr = gistXLogUpdate(buffer, deletable, ndeletable, NULL, 0, InvalidBuffer); -- cgit v1.2.3