doc: Rewrite how to get the source code

Instead of hardcoding a specific link, give a general link to the
download section of the web site.  This gives the user more download
options and the sysadmins more flexibility.  Also, the previously
presented link didn't work for devel versions.
This commit is contained in:
Peter Eisentraut 2013-02-07 23:19:18 -05:00
parent bcc6c4c291
commit 858ef718ba
1 changed files with 8 additions and 6 deletions

View File

@ -363,16 +363,18 @@ su - postgres
<title>Getting The Source</title> <title>Getting The Source</title>
<para> <para>
The <productname>PostgreSQL</> &version; sources can be obtained by The <productname>PostgreSQL</> &version; sources can be obtained from the
anonymous FTP from <ulink download section of our
url="ftp://ftp.postgresql.org/pub/source/v&version;/postgresql-&version;.tar.gz"></ulink>. website: <ulink url="http://www.postgresql.org/download/"></ulink>. You
Other download options can be found on our website: should get a file named <filename>postgresql-&version;.tar.gz</filename>
<ulink url="http://www.postgresql.org/download/"></ulink>. After you or <filename>postgresql-&version;.tar.bz2</filename>. After
have obtained the file, unpack it: you have obtained the file, unpack it:
<screen> <screen>
<userinput>gunzip postgresql-&version;.tar.gz</userinput> <userinput>gunzip postgresql-&version;.tar.gz</userinput>
<userinput>tar xf postgresql-&version;.tar</userinput> <userinput>tar xf postgresql-&version;.tar</userinput>
</screen> </screen>
(Use <command>bunzip2</command> instead of <command>gunzip</command> if you
have the <filename>.bz2</filename> file.)
This will create a directory This will create a directory
<filename>postgresql-&version;</filename> under the current directory <filename>postgresql-&version;</filename> under the current directory
with the <productname>PostgreSQL</> sources. with the <productname>PostgreSQL</> sources.