libpq_pipeline: add PQtrace() support and tests
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 30 Mar 2021 23:33:04 +0000 (20:33 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 30 Mar 2021 23:33:04 +0000 (20:33 -0300)
commit7bebd0d00998a28449d83376f4bcdeec65d5eea6
tree965b23b0a04fcedc690c0f49b988745d5562c8aa
parent198b3716dba68544b55cb97bd120738a86d5df2d
libpq_pipeline: add PQtrace() support and tests

The libpq_pipeline program recently introduced by commit acb7e4eb6b1c
is well equipped to test the PQtrace() functionality, so let's make it
do that.

Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20210327192812.GA25115@alvherre.pgsql
src/test/modules/libpq_pipeline/libpq_pipeline.c
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
src/test/modules/libpq_pipeline/traces/disallowed_in_pipeline.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/multi_pipelines.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/pipeline_abort.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/prepared.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/simple_pipeline.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/singlerow.trace [new file with mode: 0644]
src/test/modules/libpq_pipeline/traces/transaction.trace [new file with mode: 0644]