Re: Minmax indexes
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Thom Brown <thom@linux.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2013-09-17T21:52:24Z
Lists: pgsql-hackers
Attachments
- minmax-3-incr.patch (text/x-diff) patch
Thom Brown wrote: > Hit another issue with exactly the same procedure: > > pgbench=# create index minmaxtest on pgbench_accounts using minmax (aid); > ERROR: lock 176475 is not held That's what I get for restructuring the way buffers are acquired to use the FSM, and then neglecting to test creation on decently-sized indexes. Fix attached. I just realized that xlog replay is also broken. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
Commits
-
Refactor per-page logic common to all redo routines to a new function.
- f8f4227976a2 9.5.0 cited
-
Reduce use of heavyweight locking inside hash AM.
- 76837c1507cb 9.3.0 cited
-
Scan the buffer pool just once, not once per fork, during relation drop.
- ece01aae4792 9.2.0 cited
-
Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
- 9e2a87b62db8 7.1.1 cited