Re: Old Postgresql version on i7-1165g7

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Old Postgresql version on i7-1165g7
Дата
Msg-id 3190188.1618325128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Old Postgresql version on i7-1165g7  (Justin Pryzby <pryzby@telsasoft.com>)
Ответы Re: Old Postgresql version on i7-1165g7  (Yura Sokolov <y.sokolov@postgrespro.ru>)
Список pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> On Fri, Apr 09, 2021 at 04:28:25PM +0300, Yura Sokolov wrote:
>> Occasinally I found I'm not able to `make check` old Postgresql versions.

>> I've bisected between REL_11_0 and "Rename pg_rewind's copy_file_range()"
>> and
>> found 372728b0d49552641f0ea83d9d2e08817de038fa
>>> Replace our traditional initial-catalog-data format with a better
>>> design.
>> This is first commit where `make check` doesn't fail during initdb on my
>> machine.

> This doesn't make much sense or help much, since 372728b doesn't actually
> change the catalogs, or any .c file.

It could make sense if some part of the toolchain that was previously
used to generate postgres.bki doesn't work right on that machine.
Overall though I'd have thought that 372728b would increase not
decrease our toolchain footprint.  It also seems unlikely that a
recent Ubuntu release would contain toolchain bugs that we hadn't
already heard about.

> You used make clean too, right ?

Really, when bisecting, you need to use "make distclean" or even
"git clean -dfx" between steps, or you may get bogus results,
because our makefiles aren't that great about tracking dependencies,
especially when you move backwards in the history.

So perhaps a more plausible theory is that this bisection result
is wrong because you weren't careful enough.

            regards, tom lane



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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: Truncate in synchronous logical replication failed
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] Identify LWLocks in tracepoints