Re: unique indexes on partitioned tables - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: unique indexes on partitioned tables
Date
Msg-id d3e5cfa4-15aa-48a4-7b9e-49825a35b75c@2ndquadrant.com
Whole thread Raw
In response to Re: unique indexes on partitioned tables  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: unique indexes on partitioned tables  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Here is a mini-patch on top of yours to fix a few cosmetic things.

I don't understand the variable name "third".  I don't see a "first" or
"second" nearby.

I find some of the columns in pg_constraint confusing.  For a primary
key on a partitioned table, for the PK on the partition I get

conislocal = false, coninhcount = 1, connoinherit = true

The last part is confusing to me.

I don't know if that's really on this patch.  But perhaps it could be
documented better.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Parallel bt build crashes when DSM_NONE
Next
From: Tom Lane
Date:
Subject: Re: tapeblocks is uninitialized in logtape.c