Updated to PostgreSQL-7.4.6

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2858 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2004-10-23 05:51:06 +00:00
parent dca2fac36b
commit 9aeb405df8
3 changed files with 41 additions and 9 deletions

View File

@ -6,8 +6,9 @@
<!ENTITY postgresql-download-http "http://gd.tuwien.ac.at/db/postgresql/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
<!ENTITY postgresql-download-ftp "ftp://ftp.fr.postgresql.org/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
<!ENTITY postgresql-size "9.7 MB">
<!ENTITY postgresql-buildsize "197 MB">
<!ENTITY postgresql-md5sum "f0ea2b372a7bdaf2613e92176ebf5e0f">
<!ENTITY postgresql-size "10.2 MB">
<!ENTITY postgresql-buildsize "236 MB">
<!ENTITY postgresql-time "1.21 SBU">
]>
@ -31,11 +32,19 @@ derived from the Berkeley Postgres database management system.</para>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink url="&postgresql-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&postgresql-download-ftp;"/></para></listitem>
<listitem><para>MD5 sum: &postgresql-md5sum;</para></listitem>
<listitem><para>Download size: &postgresql-size;</para></listitem>
<listitem><para>Estimated Disk space required: &postgresql-buildsize;</para></listitem>
<listitem><para>Estimated disk space required: &postgresql-buildsize;</para></listitem>
<listitem><para>Estimated build time: &postgresql-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required patch: <ulink
url="&patch-root;/postgresql-&postgresql-version;-dsssl_fix-1.patch"/></para>
</listitem></itemizedlist>
</sect3>
<sect3><title><application>Postgre<acronym>SQL</acronym></application>
dependencies</title>
<sect4><title>Optional</title>
@ -45,7 +54,8 @@ dependencies</title>
<xref linkend="tk"/>,
<xref linkend="openssl"/>,
<xref linkend="Linux_PAM"/>,
<xref linkend="opensp"/>,
<xref linkend="sgml-dtd-3"/>,
<xref linkend="docbook-dsssl"/>,
<xref linkend="openjade"/>,
<xref linkend="perl-modules"/>: SGMLSpm-&SGMLSpm-version;,
<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
@ -61,10 +71,23 @@ dependencies</title>
<title>Installation of <application>Postgre<acronym>SQL</acronym></application>
</title>
<para>In order for <command>configure</command> to properly discover
<application>Docbook <acronym>SGML</acronym>
<acronym>DTD</acronym></application> (v3.1), you may need to remove
<application>OpenSP</application> catalog definitions from the system
<acronym>SGML</acronym> catalogs. Use the following command before building
the package to accomplish this:</para>
<screen><userinput><command>sed -i.orig \
-e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
/etc/sgml/catalog \
/etc/sgml/sgml-docbook.cat</command></userinput></screen>
<para>Install <application>Postgre<acronym>SQL</acronym></application> with the
following commands: </para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
<screen><userinput><command>patch -Np1 -i ../postgresql-&postgresql-version;-dsssl_fix-1.patch &amp;&amp;
./configure --prefix=/usr --enable-thread-safety &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
chown -R root:root /usr/share/doc/postgresql/html</command></userinput></screen>
@ -114,11 +137,17 @@ echo "select * from t1;" | (su - postgres -c '/usr/bin/psql test')</command></us
<sect2>
<title>Command explanations</title>
<para><parameter>--enable-thread-safety</parameter>: This switch makes the
client libraries thread-safe by allowing concurrent threads in
<filename class='libraryfile'>libpq</filename> and <acronym>ECPG</acronym>
programs to safely control their private connection handles.</para>
<para><command>chown -R root:root /usr/share/doc/postgresql/html</command>:
This command corrects the improper ownership of some documentation
files.</para>
<para><command>useradd -d /srv/pgsql/data postgres</command>: Add an unprivileged user to run the database server.</para>
<para><command>useradd -d /srv/pgsql/data postgres</command>: Add an
unprivileged user to run the database server.</para>
<para><command>createdb test, create table t1 , insert into t1 values...,
select * from t1</command>: Create a database, add a table to it, insert some

View File

@ -1,8 +1,8 @@
<!ENTITY day "21">
<!ENTITY day "23">
<!ENTITY month "10">
<!ENTITY year "2004">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "October &day;st, &year;">
<!ENTITY releasedate "October &day;rd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "testing"> <!-- stable|testing|unstable] -->
@ -219,7 +219,7 @@
<!ENTITY db-version "4.2.52.2">
<!ENTITY db-3.3-version "3.3.11">
<!ENTITY mysql-version "4.0.21">
<!ENTITY postgresql-version "7.4.3">
<!ENTITY postgresql-version "7.4.6">
<!-- Chapter 24 -->
<!ENTITY apache-version "2.0.52">

View File

@ -22,6 +22,9 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>October 23rd, 2004 [randy]: Updated to
PostgreSQL-7.4.6.</para></listitem>
<listitem><para>October 21st, 2004 [randy]: Updated to
cURL-7.12.2.</para></listitem>