pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sandro Serafini <s.serafini@iam.it>
To: pgsql-admin@postgresql.org
Subject: postgresql user quota
Date: Tue, 18 Jul 2000 09:53:24 +0200 (CEST)
Message-ID: <20000718075324.671.qmail@sandro.vi.nettuno.it> (raw)

Hi!

I need to limit the postgresql user's quotas on my system...

I noticed that postgres creates a new directory for every database, so I tried
changing the owner of the directory and the files within the directory to the
unix user "owner" of the database, setting the group so the postgres daemon
works.

All works correctly, the postgres user is subject to the system quota and when
a user inserts too much data inside his tables, the system gives him an error.

BUT... there's a problem... when the postmaster creates new files (for
example, creating a new table), the new files fall into user "postgres" and
not the user owning the database.

Some ideas??

---
Sandro Serafini
Internet & Multimedia - POP Nextra - NETTuno
Via G.B. Imperiali, 75 - 36100 Vicenza - Italy





view thread (4+ messages)  latest in thread

Message-ID: <20000718075324.671.qmail@sandro.vi.nettuno.it>
Permalink:  ../20000718075324.671.qmail@sandro.vi.nettuno.it/
Also on:    postgresql.org/message-id/20000718075324.671.qmail@sandro.vi.nettuno.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: s.serafini@iam.it
  Subject: Re: postgresql user quota
  In-Reply-To: <20000718075324.671.qmail@sandro.vi.nettuno.it>
  References: <20000718075324.671.qmail@sandro.vi.nettuno.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox