TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'google/api_client' | |
require 'active_support/core_ext/hash' | |
# 1. Go to Google Cloud Console (https://cloud.google.com/console) | |
# 2. Create Service Account with P12 File | |
# 3. Enable the Admin SDK in APIs. |
TL;DR
Install Postgres 9.5, and then:
sudo pg_dropcluster 9.5 main --stop
sudo pg_upgradecluster 9.3 main
sudo pg_dropcluster 9.3 main