pgsql: Abort pgbench if script end is reached with an open pipeline

2024-01-22 Thread Alvaro Herrera
Abort pgbench if script end is reached with an open pipeline When a pipeline is opened with \startpipeline and not closed, pgbench will either error on the next transaction with a "already in pipeline mode" error or successfully end if this was the last transaction -- despite not sending anything

pgsql: Abort pgbench if script end is reached with an open pipeline

2024-01-22 Thread Alvaro Herrera
Abort pgbench if script end is reached with an open pipeline When a pipeline is opened with \startpipeline and not closed, pgbench will either error on the next transaction with a "already in pipeline mode" error or successfully end if this was the last transaction -- despite not sending anything

pgsql: Abort pgbench if script end is reached with an open pipeline

2024-01-22 Thread Alvaro Herrera
Abort pgbench if script end is reached with an open pipeline When a pipeline is opened with \startpipeline and not closed, pgbench will either error on the next transaction with a "already in pipeline mode" error or successfully end if this was the last transaction -- despite not sending anything

pgsql: Abort pgbench if script end is reached with an open pipeline

2024-01-22 Thread Alvaro Herrera
Abort pgbench if script end is reached with an open pipeline When a pipeline is opened with \startpipeline and not closed, pgbench will either error on the next transaction with a "already in pipeline mode" error or successfully end if this was the last transaction -- despite not sending anything