From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Add tests for repeated calls of \bind[_named]
Date: Thu, 19 Sep 2024 23:59:35 +0000
Message-ID: <E1srR3f-00058O-8W@gemulon.postgresql.org> (raw)
psql: Add tests for repeated calls of \bind[_named]
The implementation assumes that on multiple calls of these meta-commands
the last one wins. Multiple \g calls in-between mean multiple
executions.
There were no tests to check these properties, hence let's add
something.
Author: Jelte Fennema-Nio, Michael Paquier
Discussion: https://postgr.es/m/CAGECzQSTE7CoM=Gst56Xj8pOvjaPr09+7jjtWqTC40pGETyAuA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/91287b5f5da324ac24678f556962e1b95e52240c
Modified Files
--------------
src/test/regress/expected/psql.out | 38 ++++++++++++++++++++++++++++++++++++++
src/test/regress/sql/psql.sql | 9 +++++++++
2 files changed, 47 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: psql: Add tests for repeated calls of \bind[_named]
In-Reply-To: <E1srR3f-00058O-8W@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox