Re: Question about database restrict

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question about database restrict
Date: 2005-03-15 13:18:50
Message-ID: 20050315131850.GA2255@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 15, 2005 at 12:57:52 +0800,
Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu> wrote:
>
>
>
> "Yu Jie" <webpurchasing(at)yahoo(dot)com> writes:
> > Hi all,
> > If I want to restrict the maximum size of one
> > table to 5MB, restrict the maximum size of database
> > file to 100MB, how can I do that restriction?
> > Is PostgreSQL8.0 support this function? I can't
> > find it in the manual of PostgreSQL.
>
> PG does not support this function directly. However, you may use OS provided
> functions to do this more or less.

However, this isn't really a good idea as if the database runs out of disk
space cleanup might not be fun.

Perhaps if you explain more about what you are doing we might have some
other possible solutions for you?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Miroslav Šulc 2005-03-15 13:25:58 Re: Internal account lookup failure
Previous Message sferriol 2005-03-15 13:16:10 Internal account lookup failure