Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Date: 2021-11-15 13:13:32
Message-ID: E219081E-EBC8-4085-A45D-6DAE91198D59@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 21 Jul 2021, at 03:49, Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp> wrote:

> I attached the updated patch v2, which includes a comment fix and a TAP test.

This patch fails the TAP test for pgbench:

# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 25 just after 224.
t/001_pgbench_with_server.pl ..
Dubious, test returned 25 (wstat 6400, 0x1900)
All 224 subtests passed
t/002_pgbench_no_server.pl .... ok
Test Summary Report
-------------------
t/001_pgbench_with_server.pl (Wstat: 6400 Tests: 224 Failed: 0)
Non-zero exit status: 25
Parse errors: No plan found in TAP output
Files=2, Tests=426, 3 wallclock secs ( 0.04 usr 0.00 sys + 1.20 cusr 0.36 csys = 1.60 CPU)
Result: FAIL

--
Daniel Gustafsson https://vmware.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2021-11-15 13:42:14 Re: pg_get_publication_tables() output duplicate relid
Previous Message Alexander Pyhalov 2021-11-15 13:01:51 Re: Partial aggregates pushdown