[Lunar-commits] r17229 - moonbase/trunk/sql/postgresql
Dennis Veatch
stumbles at lunar-linux.org
Tue Nov 8 18:45:48 UTC 2005
Author: stumbles
Date: 2005-11-08 18:45:45 +0000 (Tue, 08 Nov 2005)
New Revision: 17229
Modified:
moonbase/trunk/sql/postgresql/CONFIGURE
moonbase/trunk/sql/postgresql/DETAILS
Log:
This is a major version change so the pg_dumpall rules apply here as they did
with moving from the 7 series to 8.0. Again this module *will not update*
postgres if something older is found.
To ensure data integrity you must dump the database and delete PGDATA and relin.
I have tested this with a simple database created by Amarok. The dump/restore
procedure worked fine. On more complicated databases you may have to jump
additional hoops.
compiled with gcc-3.4.4 and glibc-2.3.5
Modified: moonbase/trunk/sql/postgresql/CONFIGURE
===================================================================
--- moonbase/trunk/sql/postgresql/CONFIGURE 2005-11-08 14:54:54 UTC (rev 17228)
+++ moonbase/trunk/sql/postgresql/CONFIGURE 2005-11-08 18:45:45 UTC (rev 17229)
@@ -1,9 +1,9 @@
if [ -f /var/lib/pgsql/data/PG_VERSION ]
then
- if [ `cat /var/lib/pgsql/data/PG_VERSION` != '8.0' ]
+ if [ `cat /var/lib/pgsql/data/PG_VERSION` != '8.1' ]
then
- printf "${PROBLEM_COLOR}A pre 8.0 version of the database was found.\nYou need to upgrade the data format to 8.0.\nRefer to the INSTALL file located in the tarball\nfor the upgrade procedure.\nThe install will not continue.""${DEFAULT_COLOR}"
+ printf "${PROBLEM_COLOR}A pre 8.1 version of the database was found.\nYou will need to run pg_dumpall with perhap$
exit 1
fi
fi
Modified: moonbase/trunk/sql/postgresql/DETAILS
===================================================================
--- moonbase/trunk/sql/postgresql/DETAILS 2005-11-08 14:54:54 UTC (rev 17228)
+++ moonbase/trunk/sql/postgresql/DETAILS 2005-11-08 18:45:45 UTC (rev 17229)
@@ -1,13 +1,13 @@
MODULE=postgresql
- VERSION=8.0.4
+ VERSION=8.1.0
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_URL[0]=ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub/source/v${VERSION}/
SOURCE_URL[1]=ftp://ftp.nl.postgresql.org/pub/mirrors/postgresql/source/v${VERSION}/
SOURCE_URL[2]=ftp://ftp.us.postgresql.org/pub/mirrors/postgresql/source/v${VERSION}/
- SOURCE_VFY=sha1:19a83cc4bb61880c6078f1507cd876d582498220
+ SOURCE_VFY=sha1:9e5330e4751f8fc91a08320f696a4d22eab881d1
WEB_SITE=http://www.postgresql.org
ENTERED=20011113
- UPDATED=20051004
+ UPDATED=20051108
FUZZY=off
SHORT="postgresql is a sophisticated Object-Relational DBMS"
More information about the Lunar-commits
mailing list