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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Avoid unnecessary copying of a string in pg_restore.c
Дата
Msg-id E1u1Q7R-002xyY-1Q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления: