SQLStreams

the messaging platform that is just Postgres

You last visited on 9999-99-99 Show what's new since then

0290 — Timeout errors record the message id in last_error, never the work payload

Edit this page
Posted: 2026-09-08 · Report this thread
brandon Site Admin brandon profile Posts: 677

Context. A timeout error needs enough identity to correlate with the message that hung. last_error is DB-persisted with far wider read access than an in-process error ever had, and payloads can carry sensitive data.

Decision. Timeout errors tag last_error with messageID only — the raw work payload is never written into it.

Consequences. Operators can join last_error back to the message by id when they have log-read access; payload contents never leak into a column whose readership was not designed for them.