On Wed, Jun 15, 2005 at 13:34:39 +0200, Zlatko Mati? <zlatko.matic1@xxxxxxxxxxx> wrote: > Hi. > Concerning Együd's question, I also wanted to ask about setting expiration > date for database. But, I would like to set validity in sense of certain > actions. > For example, I would like to prevent adding new records after expiration, > but would allow viewing existing records.... > Is there any way to acomplish that? Possibly you could do what you want by using AFTER triggers on all of the tables. This will only be practical if the users with update access do not own the tables. ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match