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

From Alvaro Herrera
Subject [HACKERS] relkind check in DefineIndex
Date
Msg-id 20171013163820.pai7djcaxrntaxtn@alvherre.pgsql
Whole thread Raw
Responses Re: [HACKERS] relkind check in DefineIndex
List pgsql-hackers
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.

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

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

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Implement table partitioning.
Next
From: Peter Geoghegan
Date:
Subject: Re: [HACKERS] [COMMITTERS] pgsql: Fix traversal of half-frozen update chains