mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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:
parent
bcc6c4c291
commit
858ef718ba
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user