postgresql/contrib/test_decoding
Tom Lane b961bdfe16 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
2021-06-23 11:12:31 -04:00
..
expected Improve display of query results in isolation tests. 2021-06-23 11:12:31 -04:00
specs Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
sql Propagate ALTER TABLE ... SET STORAGE to indexes 2020-05-08 08:39:17 +02:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
Makefile Stop demanding that top xact must be seen before subxact in decoding. 2020-02-19 08:15:49 +05:30
test_decoding.c Clean up newlines following left parentheses 2020-01-30 13:42:14 -03:00