forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit38ca11a
committed
Add test for CREATE INDEX CONCURRENTLY with not-so-immutable predicate
83158f7 has improved index_set_state_flags() so as it is possible to usetransactional updates when updating pg_index state flags, but there wasnot really a test case which stressed directly the possibility it fixed.This commit adds such a test, using a predicate that looks valid inappearance but calls a stable function.Author: Andrey LepikhovDiscussion:https://postgr.es/m/9b905019-5297-7372-0ad2-e1a4bb66a719@postgrespro.ruBackpatch-through: 9.61 parent08acba5 commit38ca11a
File tree
2 files changed
+24
-1
lines changed- src/test/regress
- expected
- sql
2 files changed
+24
-1
lines changedLines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2529 | 2529 |
| |
2530 | 2530 |
| |
2531 | 2531 |
| |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
2532 | 2544 |
| |
2533 | 2545 |
| |
2534 | 2546 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
805 | 805 |
| |
806 | 806 |
| |
807 | 807 |
| |
808 |
| - | |
809 | 808 |
| |
810 | 809 |
| |
811 | 810 |
| |
812 | 811 |
| |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
813 | 824 |
| |
814 | 825 |
| |
815 | 826 |
| |
|
0 commit comments
Comments
(0)