Avoid unnecessary copying of a string in pg_restore.c
authorAndrew Dunstan <[email protected]>
Sun, 6 Apr 2025 13:21:09 +0000 (09:21 -0400)
committerAndrew Dunstan <[email protected]>
Sun, 6 Apr 2025 13:21:09 +0000 (09:21 -0400)
commit5e1915439085014140314979c4dd5e23bd677cac
tree5c9d68506ccd70a1628498a65fcb6bd891b4628c
parent6d5417e634b3841dcc44bdb43f5586bcde33ddb4
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.
src/bin/pg_dump/pg_restore.c