Re: Remove pre-10 compatibility code in hash index

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-05-10T03:47:32Z
Lists: pgsql-hackers
On Tue, May 9, 2017 at 1:41 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> Commit ea69a0dead5128c421140dc53fac165ba4af8520 has bumped the hash
> index version and obviates the need for backward compatibility code
> added by commit 293e24e507838733aba4748b514536af2d39d7f2.  The same
> has been mentioned in the commit message, please find attached patch
> to remove the pre-10 compatibility code in hash index.

Committed.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Commits

  1. Remove no-longer-needed compatibility code for hash indexes.

  2. Expand hash indexes more gradually.

  3. Cache hash index's metapage in rel->rd_amcache.