pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c
Date
Msg-id E1r3o5u-005oOt-BV@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove NOT_USED BufFileTellBlock() from buffile.c

This routine has been marked as NOT_USED since 20ad43b576d9 from 2000,
and a patch is planned to switch the logtape/tuplestore APIs to rely on
int64 rather than long for the block nunbers, which is more portable.

Keeping it is more confusing than anything at this stage, so let's get
rid of it entirely.

Thanks for Heikki Linnakangas for the poke on this one.

Discussion: https://postgr.es/m/5047be8c-7ee6-4dd5-af76-6c916c3103b4@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c99c7a4871187a8bcf717147ff08e05a49e678d5

Modified Files
--------------
src/backend/storage/file/buffile.c | 18 ------------------
1 file changed, 18 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: pgcrypto: Split off pgp-encrypt-md5 test
Next
From: Michael Paquier
Date:
Subject: pgsql: Change logtape/tuplestore code to use int64 for block numbers