Update info for v6.4. Fix markup of some examples which should
have been <programlisting> blocks.
This commit is contained in:
parent
6d603acc68
commit
cf5055261e
@ -474,11 +474,14 @@ Compile the program. Type
|
|||||||
<Para>
|
<Para>
|
||||||
14) If necessary, tell UNIX how to find your shared libraries. You can
|
14) If necessary, tell UNIX how to find your shared libraries. You can
|
||||||
do ONE of the following, preferably the first:
|
do ONE of the following, preferably the first:
|
||||||
|
|
||||||
<SubSteps>
|
<SubSteps>
|
||||||
<Step Performance="optional">
|
<Step Performance="optional">
|
||||||
<Para>
|
<Para>
|
||||||
As root, edit file /etc/ld.so.conf. Add line
|
As root, edit file /etc/ld.so.conf. Add a line
|
||||||
|
<programlisting>
|
||||||
<FileName>/usr/local/pgsql/lib</FileName>
|
<FileName>/usr/local/pgsql/lib</FileName>
|
||||||
|
</programlisting>
|
||||||
to the file. Then run command <Command>/sbin/ldconfig</Command>.
|
to the file. Then run command <Command>/sbin/ldconfig</Command>.
|
||||||
</Para>
|
</Para>
|
||||||
</Step>
|
</Step>
|
||||||
@ -515,7 +518,8 @@ Compile the program. Type
|
|||||||
<Step Performance="required">
|
<Step Performance="required">
|
||||||
<Para>
|
<Para>
|
||||||
If it has not already been done, then prepare account postgres
|
If it has not already been done, then prepare account postgres
|
||||||
for using <ProductName>Postgres</ProductName>. Any account that will use <ProductName>Postgres</ProductName> must
|
for using <ProductName>Postgres</ProductName>.
|
||||||
|
Any account that will use <ProductName>Postgres</ProductName> must
|
||||||
be similarily prepared. (The following instructions are for a
|
be similarily prepared. (The following instructions are for a
|
||||||
bash shell. Adapt accordingly for other shells.)
|
bash shell. Adapt accordingly for other shells.)
|
||||||
</Para>
|
</Para>
|
||||||
@ -568,13 +572,21 @@ Compile the program. Type
|
|||||||
<Step Performance="required">
|
<Step Performance="required">
|
||||||
<Para>
|
<Para>
|
||||||
|
|
||||||
Start the postmaster daemon running. Type
|
<Para>
|
||||||
|
The file /usr/src/pgsql/src/test/regress/README has detailed
|
||||||
|
instructions for running and interpreting the regression tests.
|
||||||
|
A short version follows here:
|
||||||
|
</Para>
|
||||||
|
|
||||||
|
<Para>
|
||||||
|
Start the postmaster daemon running in the background by typing
|
||||||
<ProgramListing>
|
<ProgramListing>
|
||||||
cd
|
$ cd
|
||||||
nohup postmaster > server.log 2>&1 &
|
$ nohup postmaster > regress.log 2>&1 &
|
||||||
</ProgramListing>
|
</ProgramListing>
|
||||||
Run postmaster from your <ProductName>Postgres</ProductName> super user account (typically
|
Run postmaster from your <ProductName>Postgres</ProductName> super user account (typically
|
||||||
account postgres). DO NOT RUN POSTMASTER FROM THE ROOT ACCOUNT.
|
account postgres).
|
||||||
|
<emphasis>Do not run <application>postmaster</application> from the root account!</emphasis>
|
||||||
</Para>
|
</Para>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
@ -722,11 +734,21 @@ Compile the program. Type
|
|||||||
your computer to do regular maintainence. The following should be
|
your computer to do regular maintainence. The following should be
|
||||||
done at regular intervals:
|
done at regular intervals:
|
||||||
|
|
||||||
a) Run the SQL command vacuum. This will clean up your database.
|
<procedure>
|
||||||
b) Back up your system. (You should probably keep the last few
|
<title>Minimal Backup Procedure</title>
|
||||||
backups on hand.) Ideally, no one else should be using the
|
|
||||||
|
<step performance="required">
|
||||||
|
<para>
|
||||||
|
Run the SQL command vacuum. This will clean up your database.
|
||||||
|
|
||||||
|
<step performance="required">
|
||||||
|
<para>
|
||||||
|
Back up your system. (You should probably keep the last few
|
||||||
|
backups on hand.) Preferably, no one else should be using the
|
||||||
system at the time.
|
system at the time.
|
||||||
|
|
||||||
|
</procedure>
|
||||||
|
|
||||||
Ideally, the above tasks should be done by a shell script that is
|
Ideally, the above tasks should be done by a shell script that is
|
||||||
run nightly or weekly by cron. Look at the man page for crontab
|
run nightly or weekly by cron. Look at the man page for crontab
|
||||||
for a starting point on how to do this. (If you do it, please
|
for a starting point on how to do this. (If you do it, please
|
||||||
@ -787,6 +809,8 @@ Compile the program. Type
|
|||||||
You will probably want to print out the documentation. Here is how
|
You will probably want to print out the documentation. Here is how
|
||||||
you might do it if you have Ghostscript on your system and are
|
you might do it if you have Ghostscript on your system and are
|
||||||
writing to a laserjet printer.
|
writing to a laserjet printer.
|
||||||
|
|
||||||
|
<programlisting>
|
||||||
alias gshp='gs -sDEVICE=laserjet -r300 -dNOPAUSE'
|
alias gshp='gs -sDEVICE=laserjet -r300 -dNOPAUSE'
|
||||||
export GS_LIB=/usr/share/ghostscript:/usr/share/ghostscript/fonts
|
export GS_LIB=/usr/share/ghostscript:/usr/share/ghostscript/fonts
|
||||||
# Print out the man pages.
|
# Print out the man pages.
|
||||||
@ -799,35 +823,49 @@ Compile the program. Type
|
|||||||
cd /usr/src/pgsql/doc
|
cd /usr/src/pgsql/doc
|
||||||
gshp -sOUTPUTFILE=userguide.hp userguide.ps
|
gshp -sOUTPUTFILE=userguide.hp userguide.ps
|
||||||
lpr -l -s -r userguide.hp
|
lpr -l -s -r userguide.hp
|
||||||
|
</programlisting>
|
||||||
|
|
||||||
If you are a developer, you will probably want to also print out
|
|
||||||
the Postgres Implemention Guide, version 1.0, October 1, 1995.
|
|
||||||
This is a WWW document located at
|
|
||||||
http://www.postgresql.org/docs/impguide.
|
|
||||||
</Para>
|
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step Performance="required">
|
<Step Performance="required">
|
||||||
<Para>
|
<Para>
|
||||||
The <ProductName>Postgres</ProductName> team wants to keep <ProductName>Postgres</ProductName> working on all of the
|
The <ProductName>Postgres</ProductName> team wants
|
||||||
|
to keep <ProductName>Postgres</ProductName> working on all of the
|
||||||
supported platforms. We therefore ask you to let us know if you did
|
supported platforms. We therefore ask you to let us know if you did
|
||||||
or did not get <ProductName>Postgres</ProductName> to work on you system. Please send a
|
or did not get <ProductName>Postgres</ProductName> to work on you system.
|
||||||
|
Please send a
|
||||||
mail message to pgsql-ports@postgresql.org telling us the following:
|
mail message to pgsql-ports@postgresql.org telling us the following:
|
||||||
- The version of <ProductName>Postgres</ProductName> (v6.2.1, 6.1.1, beta 970703, etc.).
|
|
||||||
- Your operating system (i.e. RedHat v4.0 Linux v2.0.26).
|
<itemizedlist>
|
||||||
- Your hardware (SPARC, i486, etc.).
|
<listitem>
|
||||||
- Did you compile, install and run the regression tests cleanly?
|
<para>
|
||||||
|
The version of <ProductName>Postgres</ProductName> (v6.4, 6.3.2, beta 981014, etc.).
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Your operating system (i.e. RedHat v5.1 Linux v2.0.34).
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Your hardware (SPARC, i486, etc.).
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Did you compile, install and run the regression tests cleanly?
|
||||||
If not, what source code did you change (i.e. patches you
|
If not, what source code did you change (i.e. patches you
|
||||||
applied, changes you made, etc.), what tests failed, etc.
|
applied, changes you made, etc.), what tests failed, etc.
|
||||||
It is normal to get many warning when you compile. You do
|
It is normal to get many warning when you compile. You do
|
||||||
not need to report these.
|
not need to report these.
|
||||||
|
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
</Para>
|
</Para>
|
||||||
</Step>
|
</Step>
|
||||||
|
|
||||||
<Step Performance="required">
|
<Step Performance="required">
|
||||||
<Para>
|
<Para>
|
||||||
Now create, access and manipulate databases as desired. Write client
|
Now create, access and manipulate databases as desired. Write client
|
||||||
programs to access the database server. In other words, ENJOY!
|
programs to access the database server. In other words, <emphasis>enjoy</emphasis>!
|
||||||
</Para>
|
</Para>
|
||||||
</Step>
|
</Step>
|
||||||
</Procedure>
|
</Procedure>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user