Re: User Quota Implementation - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: User Quota Implementation
Date
Msg-id 20040709163252.GA25233@dcc.uchile.cl
Whole thread Raw
In response to Re: User Quota Implementation  ("Jonah H. Harris" <jharris@tvi.edu>)
Responses Re: User Quota Implementation
List 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)



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: User Quota Implementation
Next
From: "Jonah H. Harris"
Date:
Subject: Re: User Quota Implementation