TL;DR
Install Postgres 9.6, and then:
sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main
apt-get update | |
apt-get install postgresql-server-dev-11 unzip | |
cd /tmp | |
wget http://api.pgxn.org/dist/pg_repack/1.4.4/pg_repack-1.4.4.zip | |
unzip pg_repack-1.4.4.zip | |
cd pg_repack-1.4.4 | |
make | |
make install | |
su - postgres |
TL;DR
Install Postgres 9.6, and then:
sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main
from PIL import ImageFont | |
import toyplot | |
series_names = ["Series 1", "Series 2", "Series 3"] | |
canvas = toyplot.Canvas(width=300, height=300) | |
font = ImageFont.load_default() | |
next_x = 0 | |
for legend in series_names: | |
canvas.legend([ |
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