Keep talking

Keep talking

In the previous post we configured three devuan servers from scratch using ansible adding the pgdg repository to the apt sources and installing the PostgreSQL binaries.

This tutorial will revisit the apt role’s configuration and will introduce a new role for configuring the postgres operating system’s user for passwordless ssh connections to each other server.

The maze of the elephant

The maze of the elephant

In the previous post we introduced the PostgreSQL’s dependency system.

At first sight the implementation can look like a maze where the succession of relationships are not clear.

This post will try to give a practical example to show how pg_depend can act like an Ariadne’s thread in order to resolve the dependencies.

The scenario presented is very simple but can be used as a starting point for more complex requirements.

The dependency ladder

The dependency ladder

One of the things that distinguish PostgreSQL from other database systems is the way the dependencies between database objects are managed.

PostgreSQL do not allow any invalid object like views or functions. Therefore any action that can invalidate dependent objects results in an error or it’s propagated to the dependent objects.

The mechanism could be confusing at first sight. However the implementation is brilliant and gives great flexibility.

New adventures in time and space

New adventures in time and space

When in February I received the email with the news that my talk was accepted at the pgcon it took me some time, and several espresso coffee, to realise that I wasn’t dreaming. The pgcon email reached me few days after the same talk was accepted at the pycon nove, the Italy’s nationwide Python conference. The Italian Pycon and the Pgcon are great conferences with amazing speakers and fantastic topics. The sole idea of giving my small contribution it makes me proud and a little scared, because I never talked to an audience composed mostly by fine developers.