Re: User Quota Implementation

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: "Jonah H(dot) Harris" <jharris(at)tvi(dot)edu>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Rod Taylor <pg(at)rbt(dot)ca>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: User Quota Implementation
Date: 2004-07-09 16:36:16
Message-ID: 20040709163616.GB25233@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 09, 2004 at 10:04:01AM -0600, Jonah H. Harris wrote:

> I'd like to make the following changes... Let me know your thoughts.
>
> - userquota is stored in units of kilobytes... is this adequate? Would
> anyone ever use a quota < 1K other than for allowing a user no space?
> If the user has no space, why not just disable the account and/or make
> them read-only?

We don't have the functionality for read-only, unless you REVOKE all his
privileges except select.

Anyway I think that you can't really enforce with such granularity, so
this is moot.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La felicidad no es mañana. La felicidad es ahora"

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2004-07-09 16:44:39 Re: User Quota Implementation
Previous Message Alvaro Herrera 2004-07-09 16:32:52 Re: User Quota Implementation