Fix a typo in the last commit that show the right directory in error messages

This commit is contained in:
Jaime Casanova
2010-10-07 00:29:10 -05:00
parent f5e95dd46a
commit d42f3e25f4

View File

@@ -359,7 +359,7 @@ do_standby_clone(void)
{
char *tblspc_dir;
strcpy(tblspc_dir, PQgetvalues(res, i, 0));
strcpy(tblspc_dir, PQgetvalue(res, i, 0));
/* Check this directory could be used as a PGDATA dir */
switch (check_dir(tblspc_dir))
{