Anuj Mishra
Anuj Mishra

Reputation: 1

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

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

Upvotes: -3

Views: 58

Answers (1)

J_H
J_H

Reputation: 20460

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.

Upvotes: 0

Related Questions