Re: Forgot to dump old data before re-installing machine - Mailing list pgsql-general

From Dave Page
Subject Re: Forgot to dump old data before re-installing machine
Date
Msg-id 937d27e10801180919n483c5de9pb55924c287860d4a@mail.gmail.com
Whole thread Raw
In response to Re: Forgot to dump old data before re-installing machine  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Forgot to dump old data before re-installing machine
List pgsql-general
On 18/01/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.

Right, I realise it's a seperate executable, but doesn't configure
rely on it anyway? Meaning if someones system has a uname that tells
configure it's a PPC when it's actually an Intel, the resulting binary
is likely to go bang anyway, assuming it even builds.

My suggestion was that we take the output of uname at configure/build
time and bung it in a macro, not do anything with system() at
runtime...

Anyway, Peter's suggestion seems much tidier.

/D

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Forgot to dump old data before re-installing machine
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [OT] RAID controllers blocking one another?