diff options
Diffstat (limited to 'src/bin/psql/copy.c')
-rw-r--r-- | src/bin/psql/copy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index 86c0dde748f..d4a3a460017 100644 --- a/src/bin/psql/copy.c +++ b/src/bin/psql/copy.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.50 2004/07/11 21:34:03 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.51 2004/08/13 14:47:23 tgl Exp $ */ #include "postgres_fe.h" #include "copy.h" @@ -513,7 +513,8 @@ do_copy(const char *args) appendPQExpBuffer(&query, " FORCE NOT NULL %s", options->force_notnull_list); } - canonicalize_path(options->file); + if (options->file) + canonicalize_path(options->file); if (options->from) { |