eradman/pg-safeupdate
View on GitHub ↗ ★ 153 Ruby
A simple extension to PostgreSQL that requires criteria for UPDATE and DELETE
5 mentions on Hacker News by 5 people: 2 stories, 3 comments · first 2021-10-29 · latest 2026-01-15
20082026
-
▲ 1
Pg-safeupdate: A PostgreSQL extension requiring criteria for UPDATE and DELETEstory by tanelpoder · 2026-01-15 · 1 comment
-
There is pg-safeupdate: https://github.com/eradman/pg-safeupdate
comment by RedShift1 · 2024-12-01 · in DELETEs Are Difficult -
…that raises an error if UPDATE and DELETE are executed without specifying conditions [1]: https://github.com/eradman/pg-safeupdate
comment by steve-chavez · 2023-01-29 · in Features I'd Like in PostgreSQL -
▲ 3
A simple extension to PostgreSQL that requires WHERE for UPDATE and DELETEstory by porsager · 2021-10-29 · 0 comments
-
A fun Postgres extension to require this: https://github.com/eradman/pg-safeupdate
comment by njs12345 · 2021-10-29 · in An UPDATE without a WHERE, or something close to it