Setting number of rows with postgresql

SinNisTeR

Diamond Member
Jan 3, 2001
3,570
0
0
Edit: i thought i might aswell reuse this old thread.

How do i set the maximum rows that a table can have? I'm trying to have it automatically delete everything that is old in the table. Would a better approach be having a trigger that automatically deletes things after table reaches certain size? how would i do that?