forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit09a69f6
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 parent642c069 commit09a69f6
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 | |
---|---|---|---|
| |||
1397 | 1397 |
| |
1398 | 1398 |
| |
1399 | 1399 |
| |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
1400 | 1412 |
| |
1401 | 1413 |
| |
1402 | 1414 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
481 | 481 |
| |
482 | 482 |
| |
483 | 483 |
| |
484 |
| - | |
485 | 484 |
| |
486 | 485 |
| |
487 | 486 |
| |
488 | 487 |
| |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
489 | 500 |
| |
490 | 501 |
| |
491 | 502 |
| |
|
0 commit comments
Comments
(0)