Re: [PATCHES] TRUNCATE, VACUUM, ANALYZE privileges

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Michael Paesold <mpaesold(at)gmx(dot)at>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] TRUNCATE, VACUUM, ANALYZE privileges
Date: 2006-01-05 15:40:35
Message-ID: 1136475635.6629.105.camel@home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Thu, 2006-01-05 at 09:41 -0500, Stephen Frost wrote:
> * Michael Paesold (mpaesold(at)gmx(dot)at) wrote:
> > Stephen Frost wrote:
> > >I'm not a particularly big fan of this though because, while I'd
> > >like to be able to give TRUNCATE permissions I'm not a big fan of SET
> > >RELIABILITY because it would affect PITR backups.
> >
> > As far as I have understood the discussion... with WAL archiving turned on,
> > the whole RELIABILITY changes would be no-ops, no?
> > Just as the CTAS optimization etc. only skip WAL if WAL archiving is turned
> > off.
>
> Oh, I thought the reliability bit would bypass WAL even with archiving
> turned on (which could be fine in some cases, just not all cases :). Of

It might be better if this was an setting in postgresql.conf requiring a
restart to change, off by default.

I don't like the thought of a table owner or even a super-user being
able to throw away data because they failed to investigate the full
impact of the backup strategy. I.e. Someone missed the memo that backups
were changing from pg_dumps to PITR for database environment H.

--

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-01-05 15:54:44 Re: nicer error out in initdb?
Previous Message Andrew Dunstan 2006-01-05 15:27:28 nicer error out in initdb?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-01-05 15:52:26 Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native
Previous Message Bruce Momjian 2006-01-05 15:33:05 Re: [BUGS] Solaris cc compiler on amd: PostgreSQL does not have native