Re: Upgrade db format without older version of PostgreSQL

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kelly Jones <kelly(dot)terry(dot)jones(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Upgrade db format without older version of PostgreSQL
Date: 2009-09-29 16:57:26
Message-ID: 1254243446.10576.1.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2009-09-29 at 12:50 -0400, Tom Lane wrote:
>
> > Also, however, I bet 7.2 cannot be compiled on Fedora 11. The oldest
> > PG version that I could build on Fedora 11 was 8.0, IIRC.
>
> I think the problems you had were probably with contrib stuff.
> Building the core server without any extras will probably work
> (perhaps with a lot of warnings, but ignore those).

Could be -- but this is what I got with 7.2.8:

make[3]: Entering directory `/home/devrim/rpm/BUILD/postgresql-7.2.8/src/backend/libpq'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o hba.o hba.c
hba.c: In function ‘ident_unix’:
hba.c:885: error: storage size of ‘peercred’ isn’t known
hba.c:885: warning: unused variable ‘peercred’
make[3]: *** [hba.o] Error 1
make[3]: Leaving directory `/home/devrim/rpm/BUILD/postgresql-7.2.8/src/backend/libpq'
make[2]: *** [libpq-recursive] Error 2
make[2]: Leaving directory `/home/devrim/rpm/BUILD/postgresql-7.2.8/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/devrim/rpm/BUILD/postgresql-7.2.8/src'
make: *** [all] Error 2

Regards,
--
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2009-09-29 17:01:31 Re: Upgrade db format without older version of PostgreSQL
Previous Message Tom Lane 2009-09-29 16:50:47 Re: Upgrade db format without older version of PostgreSQL