Your example demonstrates how little of PostgreSQL syntax you actually know.
It's not my example. Copied from TFA.