This archive hosts historical Debian and Ubuntu packages from apt.postgresql.org since April 2013. The oldest PostgreSQL server versions covered are 8.2.23, 8.3.23, 8.4.17, 9.0.13, 9.1.9, 9.2.4, 9.3beta1, and everything newer.
Available distributions are listed in /pub/repos/apt/dists/.
To browse directories, be sure to append "/index.html" to the URL.
Distribution releases are moved here from apt.postgresql.org after they have been EOLed by Debian or Ubuntu. The distributions retain their original DIST-pgdg name. Like on apt.postgresql.org, only the most recent version of each package is contained.
/etc/apt/sources.list entry for the distribution archive:
deb https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg main
deb-src https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg main
Replace DIST by the Debian/Ubuntu distribution in question, e.g.
buster, stretch, focal, bionic, ...
/etc/apt/sources.list entry for the archive repository:
deb https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg-archive main
deb-src https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg-archive main