Search Postgresql Archives

Re: How to set an expiration date for a WHOLE user account

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux