A moderate-size queue is already a problem that Postgres struggles to handle %) But fortunately such problems are rare, and relatively well-known, like, say, doubly-linked lists in Rust.
For most other problems, Postgres works well, or at least well enough.
[flagged]