On Thu, 2009-01-15 at 18:05 +0200, Heikki Linnakangas wrote: > Simon Riggs wrote: > > The idea outlined before didn't deal with all call points for > > RecordIsCleanupRecord(), so doesn't actually work. > > Are we talking about the same thing?
I guess not. Look at the other call points for that function, cos your suggestion didn't include them AFAICS. > If we put the control of locking to > the hands of the redo-function, I don't see why it couldn't use a lock > of the right strength. Surely the redo-function can be taught what lock > it needs to take. Yes, it can, but there were other uses. -- Simon Riggs www.2ndQuadrant.com PostgreSQL Training, Services and Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers