Postgres is a great pub/sub & job server
If you're making any project of sufficient complexity, you'll need a publish/subscribe server to process events. This article will introduce you to Postgres, explain the alternatives, and walk you through an example use case of pub/sub and its solution.
Source: System design hack: Postgres is a great pub/sub & job server, an article by Colin Chartier.