*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.24 2002/09/04 20:31:35 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.25 2002/09/22 20:57:21 petere Exp $
*/
#include "postgres_fe.h"
#include "copy.h"
if (S_ISDIR(st.st_mode))
{
fclose(copystream);
- psql_error("%s: cannot COPY TO/FROM a directory\n",
+ psql_error("%s: cannot copy from/to a directory\n",
options->file);
free_copy_options(options);
return false;