diff options
Diffstat (limited to 'src/bin/psql/copy.c')
-rw-r--r-- | src/bin/psql/copy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index 200029b77bd..36937d2606e 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.35 2003/12/01 22:14:40 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.36 2004/01/09 21:12:20 momjian Exp $ */ #include "postgres_fe.h" #include "copy.h" @@ -221,6 +221,7 @@ parse_slash_copy(const char *args) result->file = NULL; else result->file = xstrdup(token); + expand_tilde(&result->file); token = strtokx(NULL, whitespace, NULL, NULL, 0, false, pset.encoding); |