Upgrading postgresql on AWS EC2 instances
by admin on Oct.10, 2022, under News
Recently had to update an outdated version of postgresql on an AWS EC2 instance. In our setup we’ve had an old pg version 10 instance which we had to upgrade to v13.
The by far easiest solution is to use the following command:
amazon-linux-extras install postgresql13
Replace postgresql13 with whatever major version you’d like to upgrade to.