Skip to content

Instantly share code, notes, and snippets.

@raecoo
Last active January 12, 2019 03:22
Show Gist options
  • Save raecoo/6592b20eea1b0f5e1fa93492e9e23aa2 to your computer and use it in GitHub Desktop.
Save raecoo/6592b20eea1b0f5e1fa93492e9e23aa2 to your computer and use it in GitHub Desktop.
How to upgrade the pg_dump version on Amazon AMI
  1. find the target postgrsql version on the page https://yum.postgresql.org/repopackages.php

  2. install the package in server.

    sudo rpm -ivh https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-6-x86_64/pgdg-ami201503-95-9.5-3.noarch.rpm

  3. upgrade the library.

    sudo yum install postgresql95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment