From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use extensible buffers to assemble command lines |
Date: | 2024-02-11 08:36:13 |
Message-ID: | E1rZ5Jt-005f7j-9R@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use extensible buffers to assemble command lines
This makes use of StringInfo to assemble command lines, instead of
using fixed-size buffers and the (remote) possibility of "command too
long" errors. Also makes the code a bit simpler.
This covers the test driver programs pg_regress and
pg_isolation_regress.
Similar to the changes done for pg_rewind in a33e17f210.
Discussion: https://www.postgresql.org/message-id/2be4fee5-738f-4749-b9f8-b452032c7ade%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e70abd67c3e6155fe8e853c4e29255578d9cf48d
Modified Files
--------------
src/test/isolation/isolation_main.c | 37 +++++++++++++--------------------
src/test/regress/pg_regress_main.c | 41 +++++++++++++++----------------------
2 files changed, 30 insertions(+), 48 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2024-02-11 22:18:00 | pgsql: Fix gai_strerror() thread-safety on Windows. |
Previous Message | Andrew Dunstan | 2024-02-10 17:24:48 | pgsql: Disallow jsonpath methods involving TZ in immutable functions |