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: pgsql-hackers(at)postgresql(dot)org
Subject: Re: User Quota Implementation
Date: 2004-07-09 16:32:52
Message-ID: 20040709163252.GA25233@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 09, 2004 at 10:22:49AM -0600, Jonah H. Harris wrote:
> Quota is currently enforced on commit. I've considered checking during
> insert/update/copy and throwing an abort but within a transaction they
> may be deleting data as well.

How do you do it? Do you add relblocks from all tables and indexes?

> What's the consensus on when to check?

We don't have one AFAIK ...

You haven't shown us the patch, have you?

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Granting software the freedom to evolve guarantees only different results,
not better ones." (Zygo Blaxell)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-07-09 16:36:16 Re: User Quota Implementation
Previous Message Klaus Naumann 2004-07-09 16:31:30 Re: User Quota Implementation