Contents
GIT
The revision control / source code management system used to manage the PostgreSQL source code.
GIT
is the source code management (SCM) system used to manage PostgreSQL's source code.
Originally, PostgreSQL used CVS
for source control, and migrated to GIT
in 2010 [1]. Many associated PostgreSQL projects now also use GIT
.
Notes
[1] "Lessons from PostgreSQL's Git transition" - https://lwn.net/Articles/409635/
Usage
The PostgreSQL GIT repository can be cloned with:
git clone git://git.postgresql.org/git/postgresql.git
No password or authentication is necessary. On a fast connection with an average download rate of around 6MiB/s, it took about 60 seconds to clone the entire repository.
A cloned repository can be updated to the latest version using:
git fetch
References
- PostgreSQL Documentation: Getting The Source via Git
- PostgreSQL wiki: Working with Git
- PostgreSQL GIT repository, browseable online: https://git.postgresql.org/
- Mirrors of PostgreSQL projects at github: https://github.com/postgres
Useful links
- Developing on many versions of PostgreSQL at once - 2019 blog article by Craig Ringer