I am using Postgresql shell (this file and directory is not found)

44 views Asked by At

I get this:

You are now connected to database "test" as user "postgres". test=# \i C:/Users/ANUJ MISHRA/Downloads/human.sql C:/Users/ANUJ: No such file or directory

1

There are 1 answers

2
J_H On

You appear to be using a directory that has at least one SPACE character in it, and that interferes with command line parsing.

Quote the filespec, use \ to insert a literal SPACE character, or put the *.sql files of interest in another directory whose pathname lacks SPACEs.