How Go helped for the rewrite of pg_back

When I started developping pg_back, I wanted to keep it a simple as possible, by limiting its features. It also limited contributions, and at some point by accepting some useful contributions, the script grew and became not so simple. We could go on with the shell script and try to carefully control its growth, but it will sooner or later reach some limits of shell scripting. After some time without making it evolve, I got interested in the Go programming language. It appeared that pg_back could be a good candidate projet to let me learn Go. This is why pg_back version 2 is written in Go. ...

2021-03-10 · 5 min

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. ...

2021-01-20 · 2 min

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....

2020-12-04 · 2 min