How to add a column
Add a column in PostgreSQL safely under load using lock_timeout, retries, DEFAULT and NOT NULL rules, and backfilling.
Add a column in PostgreSQL safely under load using lock_timeout, retries, DEFAULT and NOT NULL rules, and backfilling.
Adding a foreign key (FK) is straightforward:
Drop a PostgreSQL column safely without downtime using lock_timeout, retries, rollout order, and reclaiming disk space.
Does the column order matter in Postgres, storage-wise?
Redefining a PK (primary key) is not a difficult procedure, yet it requires a few non-trivial steps to be done.
Removing a foreign key (FK) is straightforward:
As of PG16 (year 2023), Postgres implements UUID versions from 1 to 5, based on RFC 4122.