Published note for installation instructions to make it easier for future installers.
Installation of PostgreSQL on Amazon Linux generally follows the same path as discussed in StackOverflow Question
- Copy the link from PostgreSQL repository list after selecting the appropriate options. For Amazon Linux 2018.xx we should select RedHat Enterprise Linux 6 as target OS.
- Add the repository link and replace versions placeholders in
/etc/yum.repos.d/pgdg-11-redhat.repo
using the following commands