Complete installation instructions for
Ftp file
- ftp://ftp.postgresql.org/pub/postgresql-v6.5.3.tar.gz
+ ftp://ftp.postgresql.org/pub/postgresql-6.5.3.tar.gz
from the Internet. Store it in your home directory.
Do not use the
pg_dumpall
-script from v6.0 or everything
+script from 6.0 or everything
will be owned by the
Postgres super user.
-To dump your fairly recent post-v6.0 database installation, type
+To dump your fairly recent post-6.0 database installation, type
$ pg_dumpall > db.out
$ cd
-$ gunzip -c postgresql-v6.5.3.tar.gz \
+$ gunzip -c postgresql-6.5.3.tar.gz \
| tar xvf - src/bin/pg_dump/pg_dumpall
$ chmod a+x src/bin/pg_dump/pg_dumpall
$ src/bin/pg_dump/pg_dumpall > db.out
Unzip and untar the new source file. Type
$ cd /usr/src/pgsql
-$ gunzip -c ~/postgresql-v6.5.3.tar.gz | tar xvf -
+$ gunzip -c ~/postgresql-6.5.3.tar.gz | tar xvf -
location of this file will change accordingly.) This file should be
made read only again once you are finished.
- If you are upgrading from v6.0 or later you can copy file pg_hba.conf from
+ If you are upgrading from 6.0 or later you can copy file pg_hba.conf from
your old database on top of the one in your new database, rather than
redoing the file from scratch.
For a i686/Linux-ELF platform, no tests failed since this is the
- v6.5.3 regression testing reference platform.
+ 6.5.3 regression testing reference platform.
$ psql -e template1 < db.out
- If your pre-v6.2 database uses either path or polygon geometric data types,
+ If your pre-6.2 database uses either path or polygon geometric data types,
then you will need to upgrade any columns containing those types. To
do so, type (from within psql)
$ rm -rf /usr/local/pgsql_6_5
# Also delete old database directory tree if it is not in
# /usr/local/pgsql_6_5/data
-$ rm ~/postgresql-v6.5.3.tar.gz
+$ rm ~/postgresql-6.5.3.tar.gz
-The version of
Postgres (
v6.5.3, 6.5, beta 990318, etc.).
+The version of
Postgres (6.5.3, 6.5, beta 990318, etc.).