Обсуждение: [COMMITTERS] pgsql: Avoid use of sprintf/snprintf in describe.c.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Avoid use of sprintf/snprintf in describe.c.

От
Tom Lane
Дата:
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(-)