Re: [HACKERS] Proposal: Local indexes for partitioned table

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Jesper Pedersen <jesper.pedersen@redhat.com>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>, Robert Haas <robertmhaas@gmail.com>, David Rowley <david.rowley@2ndquadrant.com>, Simon Riggs <simon@2ndquadrant.com>, Pg Hackers <pgsql-hackers@postgresql.org>, Maksim Milyutin <milyutinma@gmail.com>
Date: 2018-01-04T13:04:59Z
Lists: pgsql-hackers

Attachments

Hello

Jesper Pedersen wrote:
> indexing.sql contains a \di command which list the owner of the db, so make
> check-world fails.

Wow, that was a stupid oversight, thanks for pointing it out.  Here's a
version that applies to today's master, and fixes this problem.

No other changes.

(I didn't incorporate your proposal to document the index naming
pattern.  I propose that you post it in its own thread, so that it can
be discussed on its own merits.  Note typo "formular" in your patch; I'd
suggest "pattern" or some such rather than "formula" though.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Commits

  1. Local partitioned indexes

  2. Fix StoreCatalogInheritance1 to use 32bit inhseqno

  3. Get rid of copy_partition_key

  4. Simplify index_[constraint_]create API