@@ -5,7 +5,7 @@ This is file /usr/src/pgsql/INSTALL. It contains notes on how to install
5
5
PostgreSQL v6.1. Up to date information on PostgreSQL may be found at
6
6
http://www.postgresql.org.
7
7
8
- PostgreSQL is a database server. It is not completely ANSI SQL
8
+ PostgreSQL is an RDBMS database server. It is not completely ANSI SQL
9
9
compliant, but with each release it gets closer.
10
10
11
11
PostgreSQL, formerly called Postgres95, is a derivative of Postgres 4.2
@@ -49,6 +49,7 @@ PostgreSQL has been tested on the following platforms:
49
49
i386_solaris i386 Solaris
50
50
irix5 SGI MIPS on IRIX 5.3
51
51
linux Intel x86 on Linux 2.0 and Linux ELF
52
+ SPARC on Linux ELF
52
53
(For non-ELF Linux, see LINUX_ELF below).
53
54
sparc_solaris SUN SPARC on Solaris 2.4
54
55
sunos4 SUN SPARC on SunOS 4.1.3
@@ -82,7 +83,7 @@ To upgrade to PostgreSQL v6.1 do the following:
82
83
3) Log into account postgres.
83
84
84
85
4) Ftp file ftp://ftp.postgresql.org/pub/postgresql-v6.1.tar.gz from the
85
- internet.
86
+ internet. Store it in your home directory.
86
87
87
88
5) Some platforms use flex. If your system uses flex then make sure
88
89
you have a good version. Type
@@ -116,15 +117,20 @@ To upgrade to PostgreSQL v6.1 do the following:
116
117
/usr/bin/flex++ which points to flex.
117
118
118
119
6) If you are upgrading an existing system from any version before
119
- version 6.1 beta release 970512 then back up the current
120
- database. Type
120
+ version 6.1 beta release 970525 then back up the current
121
+ database. (If you don't mind the restored tables being owned by
122
+ the postgres account then you may use your current pg_dumpall
123
+ script instead of the new pg_dumpall script used below.) Type
124
+ (with the gunzip line and the following line typed as one line):
121
125
cd
122
- pg_dumpall > db.out
123
- If you wish to preserve object id's (oids), type
124
- cd
125
- pg_dumpall -o > db.out
126
- instead. However, unless you have a special reason for doing this,
127
- don't do it.
126
+ gunzip -c postgresql-v6.1.tar.gz |
127
+ tar xvf - src/bin/pg_dump/pg_dumpall
128
+ chmod a+x src/bin/pg_dump/pg_dumpall
129
+ src/bin/pg_dump/pg_dumpall > db.out
130
+ rm -rf src
131
+ If you wish to preserve object id's (oids), then use the -o
132
+ option when running pg_dumpall. However, unless you have a
133
+ special reason for doing this, don't do it.
128
134
129
135
Please note that if you are upgrading from a version prior to
130
136
Postgres95 v1.09 then you must back up your database, install
@@ -370,15 +376,22 @@ To upgrade to PostgreSQL v6.1 do the following:
370
376
in error handling for those math functions between this platform
371
377
and the original Sun (?) Postgres v4.2 development environment.
372
378
373
- Here is an example from a SPARC/Linux-ELF platform (note that this is
374
- for an "unsupported" platform). Using the 970516 beta version of
375
- PostgreSQL v6.1 the following tests "failed". float8 and geometry
376
- "failed" due to minor precision differences in floating point numbers.
377
- timespan and horology had different values from the expected
378
- "14 secs ago". datetime, abstime and tinterval had "GMT" for the time
379
- zone rather than "PST" or "PDT". These differences were due to a
380
- mis-typed string for the TZ environment variable from step (18).
381
- select_views failed for unknown reasons.
379
+ Here is an example from the SPARC/Linux-ELF platform. Using the
380
+ 970525 beta version of PostgreSQL v6.1 the following tests "failed".
381
+ float8 and geometry "failed" due to minor precision differences in
382
+ floating point numbers. float8 also "failed" due to a table being
383
+ printed out in place of the expected warning message of a floating
384
+ point number being out of range. timespan and horology fail
385
+ because of a bug on this platform that causes a timespan of
386
+ "14 secs ago" to be returned as "1 day 23 hours 59 mins 46 secs
387
+ ago". (If you don't intend to use the timespan data type, then
388
+ this will not be a problem for you.) datetime also fails due
389
+ to similar problems with the timespan data type. errors fail
390
+ due to a parsing error. (This bug was introduced within the
391
+ previous week, and is probably in the regression test itself.)
392
+ select_views produces massively different output, but the
393
+ differences are probably due to the same reasons the other tests
394
+ failed.
382
395
383
396
Conclusion? If you do see failures, try to understand the nature of
384
397
the differences and then decide if those differences will affect your
@@ -592,14 +605,8 @@ Linux:
592
605
(Jalon Q. Zimmerman
593
606
<sneaker@powergrid.electriciti.com> 5/11/95)
594
607
595
- To compile with flex, you need a recent version (v2.5.2 or v2.5.4 or
596
- later). Otherwise, you will get a 'yy_flush_buffer' undefined error.
597
- Note, however, that flex v2.5.3 has a bug. See the FAQs.
598
-
599
608
BSD/OS:
600
- For BSD/OS 2.0 and 2.01, you will need to get flex version 2.5.2 or
601
- flex version 2.5.4 as well as the GNU dld library.
602
- Flex version 2.5.3 has a known bug on all platforms.
609
+ For BSD/OS 2.0 and 2.01, you will need to get the GNU dld library.
603
610
604
611
NeXT:
605
612
The NeXT port was supplied by Tom R. Hageman <tom@basil.icce.rug.nl>.
@@ -609,28 +616,3 @@ NeXT:
609
616
binary releases of PostgreSQL for NEXTSTEP will be made available to
610
617
the general public. Contact Info@RnA.nl for information.
611
618
612
- SPARC Linux-elf:
613
- There was not time to finish adding support for this in the v6.1
614
- release. However, if you are running RedHat Linux v4.0 on a
615
- SPARC platform then install flex v2.5.4 and tell configure you
616
- have a "linux-elf" platform. After running "configure" and before
617
- compiling PostgreSQL, make the following changes:
618
- 1) Edit src/GNUmakefile to comment out the call to lexflex and
619
- the if-then-else test that follows it. (This may not be
620
- necessary by the time v6.1 gets released.)
621
- 2) Edit src/Makefile.global to change "-O2" to "-O".
622
- 3) Edit src/backend/libpq/pqcomprim.c, near the start to replace
623
- #ifdef HAVE_ENDIAN_H
624
- # include <endian.h>
625
- #endif
626
- with
627
- /*
628
- #ifdef HAVE_ENDIAN_H
629
- # include <endian.h>
630
- #endif
631
- */
632
- #define BYTE_ORDER LITTLE_ENDIAN
633
- For more details, look in ftp://ftp.postgresql.org/pub/majordomo/ports
634
- for a May 16, 1997 mail message called "regression tests on a
635
- SPARC/Linux platform".
636
-
0 commit comments