Re: Postgres and disk space

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jeff Davis <jdavis-pgsql(at)empires(dot)org>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres and disk space
Date: 2004-03-14 04:17:13
Message-ID: 200403140417.i2E4HDU14344@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Davis wrote:
> Is it possible to make data files owned by a unix user other than
> postgres?
>
> It would be convenient for me because that would help to enforce quotas.

No, it isn't possible. Once we have tablespaces, you could put
different databases on different file systems with different quotas, but
each file system quote would have to be for the postgres user.

>
> Are there other methods? Is it dangerous (aside from the dangers to that
> user, obviously) to let them delete files in their data directory? Does
> postgres handle out-of-disk errors in a reasonable way?

Yes, we handle out-of-disk space errors just fine, though 7.4.2 is the
recommended version for such cases because we have had more testing
there for that case.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shalu Gupta 2004-03-14 04:18:49 TPC-H benchmarks
Previous Message Jeff Davis 2004-03-14 03:20:11 Postgres and disk space