pgsql: Avoid unnecessary copying of a string in pg_restore.c

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

pgsql: Avoid unnecessary copying of a string in pg_restore.c

От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
Avoid unnecessary copying of a string in pg_restore.c

Coverity complained about a possible overrun in the copy, but there is
no actual need to copy the string at all.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e1915439085014140314979c4dd5e23bd677cac

Modified Files
--------------
src/bin/pg_dump/pg_restore.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

FAQ