[COMMITTERS] pgsql: Avoid use of sprintf/snprintf in describe.c. - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Avoid use of sprintf/snprintf in describe.c.
Date
Msg-id E1damcu-0004Um-GR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Avoid use of sprintf/snprintf in describe.c.

Most places were already using the PQExpBuffer library for constructing
variable-length strings; bring the two stragglers into line.
describeOneTSParser was living particularly dangerously since it wasn't
even using snprintf().

Daniel Gustafsson

Discussion: https://postgr.es/m/3641F19B-336A-431A-86CE-A80562505C5E@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1e2f941db1671909ba3bde447c224bb64d1c002a

Modified Files
--------------
src/bin/psql/describe.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix very minor memory leaks in psql's command.c.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix psql tab completion for CREATE USER MAPPING.