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-a80562505...@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