pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Remove NOT_USED BufFileTellBlock() from buffile.c
Дата
Msg-id E1r3o5u-005oOt-BV@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: pgcrypto: Split off pgp-encrypt-md5 test
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Change logtape/tuplestore code to use int64 for block numbers