Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WinterMount223
on March 10, 2022
|
parent
|
context
|
favorite
| on:
Postgres Auditing in 150 lines of SQL
Usually you make heavy use of SELECT DISTINCT ON (…) FROM … ORDER BY ts DESC and you can use WHERE ts < ts_0 to recreate until ts_0. Liberal use of MATERIALIZED VIEWs.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: