@@ -474,12 +474,15 @@ Compile the program. Type
474474<Para>
475475 14) If necessary, tell UNIX how to find your shared libraries. You can
476476 do ONE of the following, preferably the first:
477+
477478<SubSteps>
478479<Step Performance="optional">
479480<Para>
480- As root, edit file /etc/ld.so.conf. Add line
481- <FileName>/usr/local/pgsql/lib</FileName>
482- to the file. Then run command <Command>/sbin/ldconfig</Command>.
481+ As root, edit file /etc/ld.so.conf. Add a line
482+ <programlisting>
483+ <FileName>/usr/local/pgsql/lib</FileName>
484+ </programlisting>
485+ to the file. Then run command <Command>/sbin/ldconfig</Command>.
483486</Para>
484487</Step>
485488<Step Performance="optional">
@@ -515,7 +518,8 @@ Compile the program. Type
515518<Step Performance="required">
516519<Para>
517520 If it has not already been done, then prepare account postgres
518- for using <ProductName>Postgres</ProductName>. Any account that will use <ProductName>Postgres</ProductName> must
521+ for using <ProductName>Postgres</ProductName>.
522+ Any account that will use <ProductName>Postgres</ProductName> must
519523 be similarily prepared. (The following instructions are for a
520524 bash shell. Adapt accordingly for other shells.)
521525</Para>
@@ -568,13 +572,21 @@ Compile the program. Type
568572<Step Performance="required">
569573<Para>
570574
571- Start the postmaster daemon running. Type
575+ <Para>
576+ The file /usr/src/pgsql/src/test/regress/README has detailed
577+ instructions for running and interpreting the regression tests.
578+ A short version follows here:
579+ </Para>
580+
581+ <Para>
582+ Start the postmaster daemon running in the background by typing
572583<ProgramListing>
573- cd
574- nohup postmaster >server .log 2>&1 &
584+ $ cd
585+ $ nohup postmaster >regress .log 2>&1 &
575586</ProgramListing>
576587 Run postmaster from your <ProductName>Postgres</ProductName> super user account (typically
577- account postgres). DO NOT RUN POSTMASTER FROM THE ROOT ACCOUNT.
588+ account postgres).
589+ <emphasis>Do not run <application>postmaster</application> from the root account!</emphasis>
578590</Para>
579591</Step>
580592
@@ -722,11 +734,21 @@ Compile the program. Type
722734 your computer to do regular maintainence. The following should be
723735 done at regular intervals:
724736
725- a) Run the SQL command vacuum. This will clean up your database.
726- b) Back up your system. (You should probably keep the last few
727- backups on hand.) Ideally, no one else should be using the
737+ <procedure>
738+ <title>Minimal Backup Procedure</title>
739+
740+ <step performance="required">
741+ <para>
742+ Run the SQL command vacuum. This will clean up your database.
743+
744+ <step performance="required">
745+ <para>
746+ Back up your system. (You should probably keep the last few
747+ backups on hand.) Preferably, no one else should be using the
728748 system at the time.
729749
750+ </procedure>
751+
730752 Ideally, the above tasks should be done by a shell script that is
731753 run nightly or weekly by cron. Look at the man page for crontab
732754 for a starting point on how to do this. (If you do it, please
@@ -787,6 +809,8 @@ Compile the program. Type
787809 You will probably want to print out the documentation. Here is how
788810 you might do it if you have Ghostscript on your system and are
789811 writing to a laserjet printer.
812+
813+ <programlisting>
790814 alias gshp='gs -sDEVICE=laserjet -r300 -dNOPAUSE'
791815 export GS_LIB=/usr/share/ghostscript:/usr/share/ghostscript/fonts
792816 # Print out the man pages.
@@ -799,35 +823,49 @@ Compile the program. Type
799823 cd /usr/src/pgsql/doc
800824 gshp -sOUTPUTFILE=userguide.hp userguide.ps
801825 lpr -l -s -r userguide.hp
826+ </programlisting>
802827
803- If you are a developer, you will probably want to also print out
804- the Postgres Implemention Guide, version 1.0, October 1, 1995.
805- This is a WWW document located at
806- http://www.postgresql.org/docs/impguide.
807- </Para>
808828</Step>
809829
810830<Step Performance="required">
811831<Para>
812- The <ProductName>Postgres</ProductName> team wants to keep <ProductName>Postgres</ProductName> working on all of the
832+ The <ProductName>Postgres</ProductName> team wants
833+ to keep <ProductName>Postgres</ProductName> working on all of the
813834 supported platforms. We therefore ask you to let us know if you did
814- or did not get <ProductName>Postgres</ProductName> to work on you system. Please send a
835+ or did not get <ProductName>Postgres</ProductName> to work on you system.
836+ Please send a
815837 mail message to pgsql-ports@postgresql.org telling us the following:
816- - The version of <ProductName>Postgres</ProductName> (v6.2.1, 6.1.1, beta 970703, etc.).
817- - Your operating system (i.e. RedHat v4.0 Linux v2.0.26).
818- - Your hardware (SPARC, i486, etc.).
819- - Did you compile, install and run the regression tests cleanly?
838+
839+ <itemizedlist>
840+ <listitem>
841+ <para>
842+ The version of <ProductName>Postgres</ProductName> (v6.4, 6.3.2, beta 981014, etc.).
843+
844+ <listitem>
845+ <para>
846+ Your operating system (i.e. RedHat v5.1 Linux v2.0.34).
847+
848+ <listitem>
849+ <para>
850+ Your hardware (SPARC, i486, etc.).
851+
852+ <listitem>
853+ <para>
854+ Did you compile, install and run the regression tests cleanly?
820855 If not, what source code did you change (i.e. patches you
821856 applied, changes you made, etc.), what tests failed, etc.
822857 It is normal to get many warning when you compile. You do
823858 not need to report these.
859+
860+ </itemizedlist>
861+
824862</Para>
825863</Step>
826864
827865<Step Performance="required">
828866<Para>
829867 Now create, access and manipulate databases as desired. Write client
830- programs to access the database server. In other words,ENJOY !
868+ programs to access the database server. In other words,<emphasis>enjoy</emphasis> !
831869</Para>
832870</Step>
833871</Procedure>