aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/file/buffile.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index 41ab64100e3..d3f0f588580 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -856,24 +856,6 @@ BufFileSeekBlock(BufFile *file, long blknum)
SEEK_SET);
}
-#ifdef NOT_USED
-/*
- * BufFileTellBlock --- block-oriented tell
- *
- * Any fractional part of a block in the current seek position is ignored.
- */
-long
-BufFileTellBlock(BufFile *file)
-{
- long blknum;
-
- blknum = (file->curOffset + file->pos) / BLCKSZ;
- blknum += file->curFile * BUFFILE_SEG_SIZE;
- return blknum;
-}
-
-#endif
-
/*
* Return the current fileset based BufFile size.
*