var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Auto Truncate
Have Postgresql setup for a simple log capture database. Anyone know how to tell the program to automatically truncate entries that are older than 30 days?
My logging software cannot do it and I'd like to do this at the DB automatically.
The only automatic way you can do something like this is with triggers or scheduled scripts. For archiving old data, I would recommend using a script to delete them.