Building a PostgreSQL extension for fun and absolutely no profit

A few months ago, I built my first PostgreSQL extension, pg_ddate. I mostly wanted to learn how PostgreSQL extensions work, and make a simple but…