Unused argument in PinBuffer function

From: Ildar Musin <i(dot)musin(at)postgrespro(dot)ru>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Unused argument in PinBuffer function
Date: 2016-08-04 11:28:30
Message-ID: 57A326DE.7080503@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

I was looking through the buffer manager's code and have noticed that
function PinBuffer has an unused 'strategy' argument. It's seems that
after refactoring made by Alexander Korotkov and Andres Freund
(48354581a49c30f5757c203415aa8412d85b0f70) it became useless. The
attached patch removes it. Probably someone more advanced could edit the
function description to reflect changes?

Regards,

--
Ildar Musin
i(dot)musin(at)postgrespro(dot)ru

Attachment Content-Type Size
PinBuffer.patch text/x-patch 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Ivanov 2016-08-04 11:44:08 Bug in WaitForBackgroundWorkerShutdown() [REL9_5_STABLE]
Previous Message Pavan Deolasee 2016-08-04 10:59:09 Heap WARM Tuples - Design Draft