Skip to content

ThinLine Radio 26.07.20

Choose a tag to compare

Summary

Hardens PostgreSQL startup migrations for large production databases so TLR can start without crashing Postgres into recovery.

Fixed

  • Logs category migration — safe nullable column add (avoids SQLSTATE 54000 on oversized log messages).
  • Late migration retries — recover from transient unexpected EOF / connection drops.
  • callUnits.label — add without rewrite-heavy NOT NULL DEFAULT.
  • Skip calls incident indexes at startup — building calls_incident_status_idx on very large calls tables could segfault Postgres parallel workers; indexes are optional and can be built offline later.