Skip to main content

code. grind. sleep.

Install Go

The Go language has been around for quite some time and one finds more and more programs written in Go. The Go compiler and tools can be installed using the packages of the Linux distribution, but the easiest way to have the latest version is to use the official compiled tools.

The version of the golang-go package in Debian stable, 1.11, is too old, so I installed the official binaries this way.

Development environment for Patroni

Recently I found a missing feature in Patroni, a high availability solution for PostgreSQL written in Python. Since I am doing more Python at work these days, I quickly made a patch. Before jumping on git push, I thought it would be nice to test if is really solves the issue. I needed a Patroni cluster, some configuration is provided and commands in the README, which is great but the instruction are not targetted toward development.