Getting the Source
- The version control repository for
PostgreSQL
- can be obtained from
- this is the recommended way to obtain the
-
PostgreSQL source code.
- You can obtain a clone of the repository by running
-
-git clone https://git.postgresql.org/git/postgresql.git
-
- This will create a directory postgresql under the current
- directory with the
PostgreSQL sources.
- Change into that directory for the rest of the installation procedure.
- See for further information.
-
-
- Alternatively, source code for the released versions can be obtained
- from the download section of our website:
+ The
PostgreSQL source code for released versions
+ can be obtained from the download section of our website:
- Download then
+ Download the
postgresql-version.tar.gz
or postgresql-version.tar.bz2
- you're interested in, then unpack it:
+ file you're interested in, then unpack it:
tar xf postgresql-version.tar.bz2
the current directory with the
PostgreSQL sources.
Change into that directory for the rest of the installation procedure.
+
+ Alternatively, you can use the Git version control system; see
+ for more information.
+