diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-10-16 12:22:18 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-10-16 12:22:18 +0200 |
commit | 60a1d96ed7ba0930024af696e1fb209a030b6c42 (patch) | |
tree | 7a6a5621707097a4378d424420dffb062b21aba2 /src/backend/parser/parse_relation.c | |
parent | 5fc438fb256ce83248feaf60e22e0919b76e3c7b (diff) | |
download | postgresql-60a1d96ed7ba0930024af696e1fb209a030b6c42.tar.gz postgresql-60a1d96ed7ba0930024af696e1fb209a030b6c42.zip |
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
Diffstat (limited to 'src/backend/parser/parse_relation.c')
0 files changed, 0 insertions, 0 deletions