Re: Forgot to dump old data before re-installing machine

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Forgot to dump old data before re-installing machine
Дата
Msg-id 10112.1200676093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Forgot to dump old data before re-installing machine  ("Dave Page" <dpage@postgresql.org>)
Ответы Re: Forgot to dump old data before re-installing machine  ("Dave Page" <dpage@postgresql.org>)
Список pgsql-general
"Dave Page" <dpage@postgresql.org> writes:
> On 18/01/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Zero cost and also zero benefit.  The missing piece of information here
>> was that the executable being used was running under PPC emulation, and
>> I'll bet money that there would have been nothing in either uname or
>> pg_config output that would have told us that.

> I'd wager there would be a fairly good chance that a PPC-only binary
> on a Mac would most likely have been built on a PPC, and thus mention
> that in the uname output at build time. I can't imagine many folks are
> building PPC-only binaries on Intels.

uname is a separate executable.  If you do system("uname") you'll get
results that reflect how uname was built, not how Postgres was built.

I think this is likely to lead to more confusion, not less --- if we'd
had such output in the directory, it might have led us to disregard
the clear evidence of the wrong-endian version number, and fruitlessly
bark up some other tree instead.

            regards, tom lane

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

Предыдущее
От: Jan de Visser
Дата:
Сообщение: transactionid lock type?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Forgot to dump old data before re-installing machine