Re: [HACKERS] relkind check in DefineIndex - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] relkind check in DefineIndex
Date
Msg-id CA+TgmoYqBdNKhks+G7BxK+6A5fgtHMJkQWmFHKfv1Z_aZJpB5g@mail.gmail.com
Whole thread Raw
In response to [HACKERS] relkind check in DefineIndex  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [HACKERS] relkind check in DefineIndex
List pgsql-hackers
On Fri, Oct 13, 2017 at 12:38 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> The relkind check in DefineIndex has grown into an ugly rats nest of
> 'if' statements.  I propose to change it into a switch, as per the
> attached.

wfm

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.
Next
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] Pluggable storage