Remove NOT_USED BufFileTellBlock() from buffile.c
authorMichael Paquier <michael@paquier.xyz>
Fri, 17 Nov 2023 01:46:50 +0000 (10:46 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 17 Nov 2023 01:46:50 +0000 (10:46 +0900)
commitc99c7a4871187a8bcf717147ff08e05a49e678d5
treed4215dfd96145c276f0afd3c90d94ca53e9ee7de
parent3af0d17acef7538c5605afa5dd7929cfd7e38d9e
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
src/backend/storage/file/buffile.c