PostgreSQL 13 is in beta right now, and we need everyone to test it! The RPMs are out.
First, please download repo rpm from here, if you have not downloaded already:

https://yum.postgresql.org/repopackages.php.

Since PostgreSQL13 is not stable yet, we distribute the RPMs via the "testing" repo. To enable the repo, please edit the repo file and enable v13 testing repo.

RHEL/CentOS: /etc/yum.repos.d/pgdg-redhat-all.repo


Fedora: /etc/yum.repos.d/pgdg-fedora-all.repo


Please find

[pgdg13-updates-testing]


and set

enabled=1


Due to a packaging issue, please remove postgresql13 packages if you installed them from daily builds:

yum -y remove postgresql13


You can now install PostgreSQL 13:

RHEL/CentOS 7:
yum -y install postgresql13-server postgresql13-contrib


RHEL 8 and Fedora:
yum -y install postgresql13-server postgresql13-contrib


Initialize the cluster:

/usr/pgsql-13/bin/postgresql-13-setup initdb


If you are running multiple versions, you may want to change the port number first, by editing

/var/lib/pgsql/13/data/postgresql.conf


Finally, start PostgreSQL 13:

systemctl enable --now postgresql-13


$ psql -c "SELECT version()"
version
-----------------------------------------------------------------------------------------------------------
PostgreSQL 13beta1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1), 64-bit

(1 row)



Please report any bugs to https://www.postgresql.org/account/submitbug/

No comments

The author does not allow comments to this entry