mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Remove unused arguments in two GiST subroutines
These arguments became unused in commit 2c03216d83
. Noticed while
skimming code for unrelated development.
This is cosmetic, so no backpatch.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user