forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit60a1d96
committed
Rework DefineIndex relkind check
Simplify coding using a switch rather than nested if tests.Author: ÁlvaroReviewed-by: Robert Haas, Amit Langote, Michaël PaquierDiscussion:https://postgr.es/m/20171013163820.pai7djcaxrntaxtn@alvherre.pgsql1 parent5fc438f commit60a1d96
1 file changed
+9
-10
lines changedLines changed: 9 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 |
| - | |
379 |
| - | |
| 378 | + | |
| 379 | + | |
380 | 380 |
| |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
387 | 386 |
| |
388 | 387 |
| |
389 | 388 |
| |
390 | 389 |
| |
391 |
| - | |
| 390 | + | |
392 | 391 |
| |
393 | 392 |
| |
394 | 393 |
| |
395 | 394 |
| |
396 |
| - | |
| 395 | + | |
397 | 396 |
| |
398 | 397 |
| |
399 | 398 |
| |
|
0 commit comments
Comments
(0)