Source code (GitHub or similar) of Percona's PostgreSQL distribution

My question is kinda similar to this one - but I don’t want an .rpm or .deb or anything else. I just want the source code of the distribution - I prefer manual installs - TIA and rgs. Pól…

1 Like

Hi @PA_l ,
What we have from Percona is a distribution. This is similar to Linux Distributions where the actual source of the Kernel comes from Kernel.org.
The PostgreSQL included in Percona Distribution is the same, real PostgreSQL (postgresql.org). All development happens there and we also contribute there (at least as of now) as it is a community project.
If you are interested in the source code, You may clone the git repo.

git clone git://git.postgresql.org/git/postgresql.git

If you are looking for release tarballs of source code, They are available at

https://ftp.postgresql.org/pub/source/

Our packaging scripts are available here

https://github.com/percona/postgres-packaging

Regards,
Jobin

1 Like

Hi @PA_l ,

you can obtain the individual packages including the source tarball from this location:

This link is currently difficult to reach from the site navigation, we’re working on improving our PG download pages at the moment.

Lenz

I’m in the same boat. All I get from the download page is the linux version.
And worse, compared to a few months ago the github page (GitHub - percona/postgres: Percona Server for PostgreSQL) seems to have lost a lot of branches. In other words, where can I get the percona 12.22 source?

@smithers You’re looking at the wrong repo. You do mean GitHub - percona/postgres-packaging - There you will find your 12.22 branch and sources.

Thanks but these are just some build scripts for linux and rpms. What I’m looking for seems to be “percona-postgresql-12.22.tar.gz” as listed in percona-postgresql-12.spec. Where does that come from?

The tar.gz can be downloaded via our download page.

Software Downloads - Percona → Go to Percona Tarballs for PostgreSQL and select 12.22

That’s where I looked first but I only see “LINUX - GENERIC” there. That’s why I started looking at github and then ended up posting here.

Hi Smithers

Percona Distribution for PostgreSQL is built from number of components, versioned and tested to work together. The whole output of that build process is available for as a tarball from the downloads page, as you’ve found. The individual packages for the components are available from repo.percona.com, along with source rpm and deb packages. The structure of the repository is described in the installation documentation.

1 Like

@smithers Looking into it again, there has been a change from the individual packages downloadable via our download page, to a single binary tarball. I’ve created a new ticket with the request to implement a single tarball that holds all components, that will be downloadable via our downloads page again.

https://perconadev.atlassian.net/browse/PKG-427

1 Like