@@ -474,12 +474,15 @@ Compile the program. Type
474
474
<Para>
475
475
14) If necessary, tell UNIX how to find your shared libraries. You can
476
476
do ONE of the following, preferably the first:
477
+
477
478
<SubSteps>
478
479
<Step Performance="optional">
479
480
<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>.
483
486
</Para>
484
487
</Step>
485
488
<Step Performance="optional">
@@ -515,7 +518,8 @@ Compile the program. Type
515
518
<Step Performance="required">
516
519
<Para>
517
520
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
519
523
be similarily prepared. (The following instructions are for a
520
524
bash shell. Adapt accordingly for other shells.)
521
525
</Para>
@@ -568,13 +572,21 @@ Compile the program. Type
568
572
<Step Performance="required">
569
573
<Para>
570
574
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
572
583
<ProgramListing>
573
- cd
574
- nohup postmaster > server .log 2>&1 &
584
+ $ cd
585
+ $ nohup postmaster > regress .log 2>&1 &
575
586
</ProgramListing>
576
587
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>
578
590
</Para>
579
591
</Step>
580
592
@@ -722,11 +734,21 @@ Compile the program. Type
722
734
your computer to do regular maintainence. The following should be
723
735
done at regular intervals:
724
736
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
728
748
system at the time.
729
749
750
+ </procedure>
751
+
730
752
Ideally, the above tasks should be done by a shell script that is
731
753
run nightly or weekly by cron. Look at the man page for crontab
732
754
for a starting point on how to do this. (If you do it, please
@@ -787,6 +809,8 @@ Compile the program. Type
787
809
You will probably want to print out the documentation. Here is how
788
810
you might do it if you have Ghostscript on your system and are
789
811
writing to a laserjet printer.
812
+
813
+ <programlisting>
790
814
alias gshp='gs -sDEVICE=laserjet -r300 -dNOPAUSE'
791
815
export GS_LIB=/usr/share/ghostscript:/usr/share/ghostscript/fonts
792
816
# Print out the man pages.
@@ -799,35 +823,49 @@ Compile the program. Type
799
823
cd /usr/src/pgsql/doc
800
824
gshp -sOUTPUTFILE=userguide.hp userguide.ps
801
825
lpr -l -s -r userguide.hp
826
+ </programlisting>
802
827
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>
808
828
</Step>
809
829
810
830
<Step Performance="required">
811
831
<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
813
834
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
815
837
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?
820
855
If not, what source code did you change (i.e. patches you
821
856
applied, changes you made, etc.), what tests failed, etc.
822
857
It is normal to get many warning when you compile. You do
823
858
not need to report these.
859
+
860
+ </itemizedlist>
861
+
824
862
</Para>
825
863
</Step>
826
864
827
865
<Step Performance="required">
828
866
<Para>
829
867
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> !
831
869
</Para>
832
870
</Step>
833
871
</Procedure>
0 commit comments