Re: Hash Indexes

Jesper Pedersen <jesper.pedersen@redhat.com>

From: Jesper Pedersen <jesper.pedersen@redhat.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Mithun Cy <mithun.cy@enterprisedb.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-09-12T13:20:43Z
Lists: pgsql-hackers

Attachments

On 09/01/2016 11:55 PM, Amit Kapila wrote:
> I have fixed all other issues you have raised.  Updated patch is
> attached with this mail.
>

The following script hangs on idx_val creation - just with v5, WAL patch 
not applied.

Best regards,
  Jesper

Commits

  1. Remove _hash_wrtbuf() in favor of calling MarkBufferDirty().

  2. Fix race introduced by 6d46f4783efe457f74816a75173eb23ed8930020.

  3. Improve hash index bucket split behavior.

  4. Reduce pinning and buffer content locking for btree scans.