pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c
Date: 2023-11-17 01:56:30
Message-ID: E1r3o5u-005oOt-BV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-11-17 02:23:38 pgsql: Change logtape/tuplestore code to use int64 for block numbers
Previous Message Robert Haas 2023-11-16 16:15:58 Re: pgsql: doc: fix wording describing the checkpoint_flush_after GUC