Re: pg_control is missing a field for LOBLKSIZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_control is missing a field for LOBLKSIZE
Дата
Msg-id 26065.1403117710@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_control is missing a field for LOBLKSIZE  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_control is missing a field for LOBLKSIZE
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 17, 2014 at 8:46 PM, Bruce Momjian <bruce@momjian.us> wrote:
>> On Tue, Jun 17, 2014 at 07:12:16PM -0400, Tom Lane wrote:
>>> What about comparing to the symbolic value LOBLKSIZE?  This would make
>>> pg_upgrade assume that the old installation had been tweaked the same
>>> as in its own build.  This ends up being the same as what you said,
>>> ie, effectively no comparison ... but it might be less complicated to
>>> code/understand.

>> OK, assume the compiled-in default is the value for an old cluster that
>> has no value --- yeah, I could do that.

> I'm not really sure why this is better than Bruce's original proposal, though.

The net behavior would be the same, but I thought it might be easier to
code by thinking of it this way.  Or maybe it wouldn't --- it's just a
suggestion.
        regards, tom lane



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [bug fix] Memory leak in dblink
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [bug fix] Memory leak in dblink