summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-28 16:01:13 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-28 16:01:13 -0400
commitb78364df1850a09ece442a138118f4be1a451366 (patch)
treeacccc4f43619c3008ee524667c648229a6a594ae /src/backend/access/gist/gist.c
parent8e1ad1b37c7afdf99815f9ed1ca255264e0b3f9e (diff)
downloadpostgresql-b78364df1850a09ece442a138118f4be1a451366.tar.gz
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r--src/backend/access/gist/gist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c
index fdf0c5a5cf..e8034b9cd6 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);