Re: [COMMITTERS] pgsql: Fix LOCK TABLE to eliminate the race condition that could make it

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Fix LOCK TABLE to eliminate the race condition that could make it
Date: 2009-06-04 08:38:12
Message-ID: 1244104692.23910.139.camel@ebony.2ndQuadrant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


On Tue, 2009-06-02 at 14:33 -0400, Bruce Momjian wrote:
> Tom Lane wrote:
> > Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > > If we're going to require cascaded permissions like this, would it make
> > > sense to make GRANT cascade down the inheritance tree also?
> >
> > That's been discussed before. I forget whether we decided it was a good
> > idea or not, but in any case it looks like a new feature not a bug fix.
>
> Is this a TODO?

Yes.

Whatever was discussed before was prior to the changes to make TRUNCATE
and LOCK TABLE cascade. The cascading will fail without appropriate
permissions, so GRANT should work that way also, now.

--
Simon Riggs www.2ndQuadrant.com
PostgreSQL Training, Services and Support

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message User Dim 2009-06-04 12:54:43 prefix - prefix: Stop displaying useless and confusing [] when not
Previous Message User Itagaki 2009-06-04 03:26:11 pgbulkload - pgbulkload: Add parallel loader for pg_bulkload 3.0.

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-06-04 08:53:05 Re: pg_standby -l might destory the archived file
Previous Message Greg Stark 2009-06-04 08:33:35 Re: PostgreSQL Developer meeting minutes up