_pg_relbuf() Relation paramter

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема _pg_relbuf() Relation paramter
Дата
Msg-id 1296347715.1326270.1423061396863.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответы Re: _pg_relbuf() Relation paramter
Re: _pg_relbuf() Relation paramter
Список pgsql-hackers
I ran across this function in nbtpage.c:

/** _bt_relbuf() -- release a locked buffer.** Lock and pin (refcount) are both dropped.*/
void
_bt_relbuf(Relation rel, Buffer buf)
{   UnlockReleaseBuffer(buf);
}

Would anyone object to me removing the first parameter (including,
obviously, in all references in our code tree)?

If there is an objection, could you suggest something for the
comment block to explain why it is there?

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления: