February 1993

This is release 4.1 of POSTGRES.

The source code for the system is contained under the src/ directory.
This includes the source for the documentation and manual pages.

--

The other directories contain an installed postgres system.  That is,
the source under src/ was built and installed into this directory
as follows:

	bin/	POSTGRES executables
	lib/	POSTGRES frontend library: libpq.a 
	include/ POSTGRES header files for frontend applications
	data/	POSTGRES database directory containing
		an initialized database
	man/	POSTGRES man pages
	doc/	POSTGRES documents, including the installation
		instructions and release notes
	obj/	a special directory used by bmake(1) - ignore

Since this release contains an installed system, it might be
that you don't need to build the system at all.  The one major
consideration is the value of the postgres userid, which has been
set for this installation to have the value XXX.  If you can live
with this, then you don't have to do anything.  Otherwise read
"postgres-setup.cat" in the doc/ directory - as it will tell you
how to change the postgres userid without rebuilding the whole system.
Also, the installation was compiled to look for the data base directory
in "/usr/local/postgres/data", which works fine if this whole tree is
rooted at /usr/local/postgres.  You can, however, put this tree
anywhere and set the environment variable PGDATA to point to the
location of the "data" directory.

Also, this release no longer requires or uses the environment
variable POSTGRESHOME.  The location of the data base directory is
set during the installation and can be changed by setting the PG_DATA 
environment variable.  And the executables call each other by name,
so just add the pathname to the bin/ directory to your shell PATH.
What this all means is if you place this distribution in 
/usr/local/postgres and if you add to your .login

	set path=(/usr/local/postgres/bin $path)

or, if you run ksh(1), add to your .profile

	PATH=/usr/local/postgres/bin:$PATH

then you will be ready to go.

---

If you would like to actually compile and install the system from
the sources in as quick a fashion as possible read the file INITIAL_SETUP.
Otherwise, refer to "postgres-setup.cat" in the doc/ directory.

Have fun!
