_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  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Re: _pg_relbuf() Relation paramter  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Getting rid of wal_level=archive and default to hot_standby + wal_senders
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ecpg array support, or lack thereof