Leveraging JSON in PostgreSQL 17 postgres-17

Leveraging JSON in PostgreSQL 17

PostgreSQL 17 finally implements the SQL/JSON standard: constructors like JSON_OBJECT and JSON_ARRAYAGG, query functions JSON_EXISTS and JSON_QUERY, and the star of the release, JSON_TABLE, which turns JSON into rows, shown on a real IoT data example.

Apr 23, 2025

How to upgrade PostgreSQL from 16 to 17 in Docker postgres-16

How to upgrade PostgreSQL from 16 to 17 in Docker

Upgrading PostgreSQL from 16 to 17 in Docker without losing data: run both versions side by side in docker-compose, back up with pg_dump, restore into the new container, then switch the app over. Five concrete steps plus the gotchas to watch out for.

Oct 28, 2024