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

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: How to set an expiration date for a WHOLE user account
Дата
Msg-id 20050615141115.GA7595@wolff.to
обсуждение исходный текст
Ответ на Re: How to set an expiration date for a WHOLE user account  (Zlatko Matić <zlatko.matic1@sb.t-com.hr>)
Список pgsql-general
On Wed, Jun 15, 2005 at 13:34:39 +0200,
  Zlatko Mati? <zlatko.matic1@sb.t-com.hr> 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Database became very slow(Help PLS)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Deadlock Problem