Re: vacuum by non-owner

From: Richard Stover <richard(at)ucolick(dot)org>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: vacuum by non-owner
Date: 2003-04-08 00:39:34
Message-ID: 3E921A46.3080506@ucolick.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

This is what I was trying to avoid. I'd have to run the script
every five minutes, even if it isn't needed, to handle the
times when it is. That just seemed like sort of a clumsy way
to handle the problem. But perhaps this is the best
solution?

Richard

> Richard Stover <richard(at)ucolick(dot)org> writes:
>
>
>> Do I have to run a small program which is setuid to the owner
>> of the tables in order to make it possible for the users to
>> VACUUM the tables? Or is there a more elegant way to do this?
>
>
> Why not run 'vacuumdb' periodically out of 'cron' as the postgres
> user?
>
> -Doug
>
>

--
Richard Stover email: richard(at)ucolick(dot)org
Detector Development Laboratory http://www.ccd.ucolick.org
UCO/Lick Observatory Voice: 831-459-2139
Natural Sciences Bldg. 2, Room 160
University of California FAX: 831-459-2298
Santa Cruz, CA 95064 USA FAX: 831-426-5244 (Alternate)
----------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Kings-Lynne 2003-04-08 01:24:37 Re: Backpatch FK changes to 7.3 and 7.2?
Previous Message Medi Montaseri 2003-04-08 00:21:28 Arrays ... need clarification....