git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 24043c2) | patch
Improve display of query results in isolation tests.
2021年6月23日 15:12:31 +0000 (11:12 -0400)
2021年6月23日 15:13:00 +0000 (11:13 -0400)
commit 4a054069a36032a59afceb07f3b837f09ab1a2e9
Improve display of query results in isolation tests.

Previously, isolationtester displayed SQL query results using some
ad-hoc code that clearly hadn't had much effort expended on it.
Field values longer than 14 characters weren't separated from
the next field, and usually caused misalignment of the columns
too. Also there was no visual separation of a query's result
from subsequent isolationtester output. This made test result
files confusing and hard to read.

To improve matters, let's use libpq's PQprint() function. Although
that's long since unused by psql, it's still plenty good enough
for the purpose here.

Like 741d7f104, back-patch to all supported branches, so that this
isn't a stumbling block for back-patching isolation test changes.

Discussion: https://postgr.es/m/582362.1623798221@sss.pgh.pa.us
104 files changed:
contrib/test_decoding/expected/concurrent_ddl_dml.out diff | blob | blame | history
contrib/test_decoding/expected/concurrent_stream.out diff | blob | blame | history
contrib/test_decoding/expected/delayed_startup.out diff | blob | blame | history
contrib/test_decoding/expected/mxact.out diff | blob | blame | history
contrib/test_decoding/expected/oldest_xmin.out diff | blob | blame | history
contrib/test_decoding/expected/ondisk_startup.out diff | blob | blame | history
contrib/test_decoding/expected/snapshot_transfer.out diff | blob | blame | history
contrib/test_decoding/expected/subxact_without_top.out diff | blob | blame | history
contrib/test_decoding/expected/twophase_snapshot.out diff | blob | blame | history
src/test/isolation/expected/aborted-keyrevoke.out diff | blob | blame | history
src/test/isolation/expected/alter-table-1.out diff | blob | blame | history
src/test/isolation/expected/alter-table-2.out diff | blob | blame | history
src/test/isolation/expected/alter-table-3.out diff | blob | blame | history
src/test/isolation/expected/alter-table-4.out diff | blob | blame | history
src/test/isolation/expected/async-notify.out diff | blob | blame | history
src/test/isolation/expected/classroom-scheduling.out diff | blob | blame | history
src/test/isolation/expected/create-trigger.out diff | blob | blame | history
src/test/isolation/expected/deadlock-parallel.out diff | blob | blame | history
src/test/isolation/expected/delete-abort-savept-2.out diff | blob | blame | history
src/test/isolation/expected/delete-abort-savept.out diff | blob | blame | history
src/test/isolation/expected/detach-partition-concurrently-1.out diff | blob | blame | history
src/test/isolation/expected/detach-partition-concurrently-2.out diff | blob | blame | history
src/test/isolation/expected/detach-partition-concurrently-3.out diff | blob | blame | history
src/test/isolation/expected/detach-partition-concurrently-4.out diff | blob | blame | history
src/test/isolation/expected/drop-index-concurrently-1.out diff | blob | blame | history
src/test/isolation/expected/drop-index-concurrently-1_2.out diff | blob | blame | history
src/test/isolation/expected/eval-plan-qual-trigger.out diff | blob | blame | history
src/test/isolation/expected/eval-plan-qual.out diff | blob | blame | history
src/test/isolation/expected/fk-partitioned-2.out diff | blob | blame | history
src/test/isolation/expected/freeze-the-dead.out diff | blob | blame | history
src/test/isolation/expected/horizons.out diff | blob | blame | history
src/test/isolation/expected/inherit-temp.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-do-nothing-2.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-do-nothing.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-do-update-2.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-do-update-3.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-do-update.out diff | blob | blame | history
src/test/isolation/expected/insert-conflict-specconflict.out diff | blob | blame | history
src/test/isolation/expected/lock-committed-keyupdate.out diff | blob | blame | history
src/test/isolation/expected/lock-committed-update.out diff | blob | blame | history
src/test/isolation/expected/lock-update-delete.out diff | blob | blame | history
src/test/isolation/expected/lock-update-delete_1.out diff | blob | blame | history
src/test/isolation/expected/lock-update-traversal.out diff | blob | blame | history
src/test/isolation/expected/multiple-cic.out diff | blob | blame | history
src/test/isolation/expected/multiple-row-versions.out diff | blob | blame | history
src/test/isolation/expected/multixact-no-deadlock.out diff | blob | blame | history
src/test/isolation/expected/multixact-no-forget.out diff | blob | blame | history
src/test/isolation/expected/multixact-no-forget_1.out diff | blob | blame | history
src/test/isolation/expected/nowait-2.out diff | blob | blame | history
src/test/isolation/expected/nowait-3.out diff | blob | blame | history
src/test/isolation/expected/nowait-4.out diff | blob | blame | history
src/test/isolation/expected/nowait-4_1.out diff | blob | blame | history
src/test/isolation/expected/nowait-5.out diff | blob | blame | history
src/test/isolation/expected/nowait.out diff | blob | blame | history
src/test/isolation/expected/partial-index.out diff | blob | blame | history
src/test/isolation/expected/partition-concurrent-attach.out diff | blob | blame | history
src/test/isolation/expected/partition-key-update-2.out diff | blob | blame | history
src/test/isolation/expected/partition-key-update-3.out diff | blob | blame | history
src/test/isolation/expected/partition-key-update-4.out diff | blob | blame | history
src/test/isolation/expected/plpgsql-toast.out diff | blob | blame | history
src/test/isolation/expected/predicate-gin.out diff | blob | blame | history
src/test/isolation/expected/predicate-gist.out diff | blob | blame | history
src/test/isolation/expected/predicate-hash.out diff | blob | blame | history
src/test/isolation/expected/predicate-lock-hot-tuple.out diff | blob | blame | history
src/test/isolation/expected/prepared-transactions-cic.out diff | blob | blame | history
src/test/isolation/expected/prepared-transactions.out diff | blob | blame | history
src/test/isolation/expected/project-manager.out diff | blob | blame | history
src/test/isolation/expected/read-only-anomaly-2.out diff | blob | blame | history
src/test/isolation/expected/read-only-anomaly-3.out diff | blob | blame | history
src/test/isolation/expected/read-only-anomaly.out diff | blob | blame | history
src/test/isolation/expected/read-write-unique-2.out diff | blob | blame | history
src/test/isolation/expected/read-write-unique-3.out diff | blob | blame | history
src/test/isolation/expected/read-write-unique-4.out diff | blob | blame | history
src/test/isolation/expected/read-write-unique.out diff | blob | blame | history
src/test/isolation/expected/receipt-report.out diff | blob | blame | history
src/test/isolation/expected/referential-integrity.out diff | blob | blame | history
src/test/isolation/expected/reindex-concurrently.out diff | blob | blame | history
src/test/isolation/expected/ri-trigger.out diff | blob | blame | history
src/test/isolation/expected/sequence-ddl.out diff | blob | blame | history
src/test/isolation/expected/serializable-parallel-2.out diff | blob | blame | history
src/test/isolation/expected/serializable-parallel.out diff | blob | blame | history
src/test/isolation/expected/skip-locked-2.out diff | blob | blame | history
src/test/isolation/expected/skip-locked-3.out diff | blob | blame | history
src/test/isolation/expected/skip-locked-4.out diff | blob | blame | history
src/test/isolation/expected/skip-locked-4_1.out diff | blob | blame | history
src/test/isolation/expected/skip-locked.out diff | blob | blame | history
src/test/isolation/expected/temporal-range-integrity.out diff | blob | blame | history
src/test/isolation/expected/timeouts.out diff | blob | blame | history
src/test/isolation/expected/total-cash.out diff | blob | blame | history
src/test/isolation/expected/truncate-conflict.out diff | blob | blame | history
src/test/isolation/expected/tuplelock-conflict.out diff | blob | blame | history
src/test/isolation/expected/tuplelock-partition.out diff | blob | blame | history
src/test/isolation/expected/tuplelock-update.out diff | blob | blame | history
src/test/isolation/expected/tuplelock-upgrade-no-deadlock.out diff | blob | blame | history
src/test/isolation/expected/two-ids.out diff | blob | blame | history
src/test/isolation/expected/update-conflict-out.out diff | blob | blame | history
src/test/isolation/expected/vacuum-reltuples.out diff | blob | blame | history
src/test/isolation/isolationtester.c diff | blob | blame | history
src/test/modules/brin/expected/summarization-and-inprogress-insertion.out diff | blob | blame | history
src/test/modules/delay_execution/expected/partition-addition.out diff | blob | blame | history
src/test/modules/delay_execution/expected/partition-removal-1.out diff | blob | blame | history
src/test/modules/snapshot_too_old/expected/sto_using_cursor.out diff | blob | blame | history
src/test/modules/snapshot_too_old/expected/sto_using_hash_index.out diff | blob | blame | history
src/test/modules/snapshot_too_old/expected/sto_using_select.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /