Re: User Quota Implementation - Mailing list pgsql-hackers

From Dave Page
Subject Re: User Quota Implementation
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E490E463@ratbert.vale-housing.co.uk
Whole thread Raw
In response to User Quota Implementation  ("Jonah H. Harris" <jharris@tvi.edu>)
Responses Re: User Quota Implementation
List pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Yann Michel
> Sent: 11 June 2005 09:49
> To: Josh Berkus
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] User Quota Implementation
>
>
> What do we need:
>
> - Extension of the "CREATE TABLESPACE" command:
>   CREATE TABLESPACE tablespacename
>         [ OWNER username ]
>         [ SIZE <integer><K | M | G | T> ]
>         LOCATION 'directory'
>
> - Extension of the "ALTER TABLESPACE" command:
>   ALTER TABLESPACE name
>         {RENAME TO newname |
>         SIZE <integer><K | M | G | T> }

Wouldn't MAXSIZE be more appropriate?

> - Storage of this information in the system "tablespace" relation
>
> - Determine the actual size of a tables space
>   --> Already exists in contrib/dbsize/dbsize.c

A patch was recently submitted by Andreas Pflug to move those functions
into the backend permanently.

Regards, Dave.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: proposed TODO: non-locking CREATE INDEX / REINDEX
Next
From: Tom Lane
Date:
Subject: Re: The Contrib Roundup (long)