pgsql: libpq_pipeline: add PQtrace() support and tests

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq_pipeline: add PQtrace() support and tests
Date: 2021-03-30 23:34:16
Message-ID: E1lRNsG-0004Lj-Bk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)alvh(dot)no-ip(dot)org>
Discussion: https://postgr.es/m/20210327192812.GA25115@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7bebd0d00998a28449d83376f4bcdeec65d5eea6

Modified Files
--------------
src/test/modules/libpq_pipeline/libpq_pipeline.c | 85 +++++++++++++++-------
.../modules/libpq_pipeline/t/001_libpq_pipeline.pl | 53 +++++++++++++-
.../traces/disallowed_in_pipeline.trace | 9 +++
.../libpq_pipeline/traces/multi_pipelines.trace | 26 +++++++
.../libpq_pipeline/traces/pipeline_abort.trace | 65 +++++++++++++++++
.../modules/libpq_pipeline/traces/prepared.trace | 21 ++++++
.../libpq_pipeline/traces/simple_pipeline.trace | 15 ++++
.../modules/libpq_pipeline/traces/singlerow.trace | 42 +++++++++++
.../libpq_pipeline/traces/transaction.trace | 64 ++++++++++++++++
9 files changed, 352 insertions(+), 28 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-03-30 23:46:29 Re: pgsql: In messages, use singular nouns for -1, like we do for +1.
Previous Message Bruce Momjian 2021-03-30 23:20:32 Re: pgsql: In messages, use singular nouns for -1, like we do for +1.