Rework DefineIndex relkind check
Alvaro Herrera <alvherre@alvh.no-ip.org>
Rework DefineIndex relkind check Simplify coding using a switch rather than nested if tests. Author: Álvaro Reviewed-by: Robert Haas, Amit Langote, Michaël Paquier Discussion: https://postgr.es/m/20171013163820.pai7djcaxrntaxtn@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/indexcmds.c | modified | +9 −10 |
Discussion
- relkind check in DefineIndex 4 messages · 2017-10-13 → 2017-10-16