diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:19:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:19:15 +0000 |
commit | 6eb9c5a5657d1fe77b55cc261450f3538d35a94d (patch) | |
tree | 657d8194422a5daccecfd42d654b8a245ef7b4c8 /src/test/isolation/expected/drop-index-concurrently-1_2.out | |
parent | Initial commit. (diff) | |
download | postgresql-13-upstream.tar.xz postgresql-13-upstream.zip |
Adding upstream version 13.4.upstream/13.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/isolation/expected/drop-index-concurrently-1_2.out')
-rw-r--r-- | src/test/isolation/expected/drop-index-concurrently-1_2.out | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/test/isolation/expected/drop-index-concurrently-1_2.out b/src/test/isolation/expected/drop-index-concurrently-1_2.out new file mode 100644 index 0000000..04612d3 --- /dev/null +++ b/src/test/isolation/expected/drop-index-concurrently-1_2.out @@ -0,0 +1,54 @@ +Parsed test spec with 3 sessions + +starting permutation: noseq chkiso prepi preps begin explaini explains select2 drop insert2 end2 selecti selects end +step noseq: SET enable_seqscan = false; +step chkiso: SELECT (setting in ('read committed','read uncommitted')) AS is_read_committed FROM pg_settings WHERE name = 'default_transaction_isolation'; +is_read_committed +----------------- +f +(1 row) + +step prepi: PREPARE getrow_idx AS SELECT * FROM test_dc WHERE data=34 ORDER BY id,data; +step preps: PREPARE getrow_seq AS SELECT * FROM test_dc WHERE data::text=34::text ORDER BY id,data; +step begin: BEGIN; +step explaini: EXPLAIN (COSTS OFF) EXECUTE getrow_idx; +QUERY PLAN +---------------------------------------------- +Sort + Sort Key: id + -> Index Scan using test_dc_data on test_dc + Index Cond: (data = 34) +(4 rows) + +step explains: EXPLAIN (COSTS OFF) EXECUTE getrow_seq; +QUERY PLAN +---------------------------------------------- +Sort + Sort Key: id, data + -> Index Scan using test_dc_pkey on test_dc + Filter: ((data)::text = '34'::text) +(4 rows) + +step select2: SELECT * FROM test_dc WHERE data=34 ORDER BY id,data; +id|data +--+---- +34| 34 +(1 row) + +step drop: DROP INDEX CONCURRENTLY test_dc_data; <waiting ...> +step insert2: INSERT INTO test_dc(data) SELECT * FROM generate_series(1, 100); +step end2: COMMIT; +step selecti: EXECUTE getrow_idx; +id|data +--+---- +34| 34 +(1 row) + +step selects: EXECUTE getrow_seq; +id|data +--+---- +34| 34 +(1 row) + +step end: COMMIT; +step drop: <... completed> |