Check PostgreSQL Edition

This post explains a neat way to check if your are running on open source PostgreSQL or AWS Aurora (PostgreSQL compatible)