aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-02-07 23:19:18 -0500
committerPeter Eisentraut <peter_e@gmx.net>2013-02-07 23:28:42 -0500
commit858ef718ba6301b24e245bbe3ecf20aa10cb60a4 (patch)
tree871c25af84f481d87c201ccdfdcaeb18bdbe3b39
parentbcc6c4c2914ab4f9a39e4a6673f9b6c36ad93914 (diff)
downloadpostgresql-858ef718ba6301b24e245bbe3ecf20aa10cb60a4.tar.gz
postgresql-858ef718ba6301b24e245bbe3ecf20aa10cb60a4.zip
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.
-rw-r--r--doc/src/sgml/installation.sgml14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index 22e6cf11399..9bee4236773 100644
--- a/doc/src/sgml/installation.sgml
+++ b/doc/src/sgml/installation.sgml
@@ -363,16 +363,18 @@ su - postgres
<title>Getting The Source</title>
<para>
- The <productname>PostgreSQL</> &version; sources can be obtained by
- anonymous FTP from <ulink
- url="ftp://ftp.postgresql.org/pub/source/v&version;/postgresql-&version;.tar.gz"></ulink>.
- Other download options can be found on our website:
- <ulink url="http://www.postgresql.org/download/"></ulink>. After you
- have obtained the file, unpack it:
+ The <productname>PostgreSQL</> &version; sources can be obtained from the
+ download section of our
+ website: <ulink url="http://www.postgresql.org/download/"></ulink>. You
+ should get a file named <filename>postgresql-&version;.tar.gz</filename>
+ or <filename>postgresql-&version;.tar.bz2</filename>. After
+ you have obtained the file, unpack it:
<screen>
<userinput>gunzip postgresql-&version;.tar.gz</userinput>
<userinput>tar xf postgresql-&version;.tar</userinput>
</screen>
+ (Use <command>bunzip2</command> instead of <command>gunzip</command> if you
+ have the <filename>.bz2</filename> file.)
This will create a directory
<filename>postgresql-&version;</filename> under the current directory
with the <productname>PostgreSQL</> sources.