mirror of https://github.com/postgres/postgres
e535a88993
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
|
||
---|---|---|
.. | ||
expected | ||
specs | ||
sql | ||
.gitignore | ||
Makefile | ||
logical.conf | ||
test_decoding.c |