diff options
author | Stephen Frost <sfrost@snowman.net> | 2013-07-15 11:27:20 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2013-07-15 11:27:20 -0400 |
commit | 2f397a08de49e28e3430ff7278f4648757dea2a3 (patch) | |
tree | db24c207fe944ddd0fbb437e1dbbb1afb227ce42 /src/backend/regex/regexec.c | |
parent | 3cb7a393e8e93b1e67bb1e0d361dd1eb7d928ae7 (diff) | |
download | postgresql-2f397a08de49e28e3430ff7278f4648757dea2a3.tar.gz postgresql-2f397a08de49e28e3430ff7278f4648757dea2a3.zip |
Clean up pg_basebackup libpq usage
When using libpq, it's generally preferrable to just use the strings
which are in the PQ structures instead of copying them out, so do
that instead in BaseBackup(), eliminating the strcpy()'s used there.
Also, in ReceiveAndUnpackTarFile(), check the string length for the
directory returned by the server for the tablespace path.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions