pgsql: Avoid use of sprintf/snprintf in describe.c.
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: /messages/by-id/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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers