Received: from sandro.vi.nettuno.it (fw1.vi.nettuno.it [193.207.146.93]) by hub.org (8.10.1/8.10.1) with SMTP id e6I7rT076356 for ; Tue, 18 Jul 2000 03:53:30 -0400 (EDT) Received: (qmail 672 invoked by uid 1000); 18 Jul 2000 07:53:24 -0000 Message-ID: <20000718075324.671.qmail@sandro.vi.nettuno.it> From: "Sandro Serafini" Date: Tue, 18 Jul 2000 09:53:24 +0200 (CEST) To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Subject: postgresql user quota X-Archive-Number: 200007/67 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