Re: _pg_relbuf() Relation paramter

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: _pg_relbuf() Relation paramter
Дата
Msg-id 357190883.1308406.1423063302954.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответ на Re: _pg_relbuf() Relation paramter  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
> On 02/04/2015 04:49 PM, Kevin Grittner wrote:

>> Would anyone object to me removing the first parameter
>> (including, obviously, in all references in our code tree)?
>
> No objection, although I have to wonder why bother?

Because I ran across it while trying to work on something and
wasted time checking to see what the heck it was doing with that
parameter.  Having invested that time and confirmed that it was
useless, it seemed like it was worth cleaning up to save others the
same bother.

> While you're at it, the 'size' argument to _bt_pageinit is also
> pretty useless. It's useless for PageInit() too, but that's used
> in more places, potentially even in extensions.

Well, I wasn't out searching for problems like this.  I was just
going to fix the one I happened to stubbed my toe on; but if you
feel these should be changed at the same time, I could do that.

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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Getting rid of wal_level=archive and default to hot_standby + wal_senders
Следующее
От: Tom Lane
Дата:
Сообщение: Re: _pg_relbuf() Relation paramter