Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Agree. Sounds like INSERT/UPDATE/DELETE should be extended with a LOG SET webuser='abc', app=42, ... clause that provides an "UPDATE history_table SET webuser..." construct.

I.e. the history tables that temporal_tables provides, but with added columns that can include more information, and if the columns are NOT NULL then UPDATE/DELETE/INSERT should fail.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: