Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV files not visible for script #16

Open
michalstolorz opened this issue May 26, 2023 · 1 comment
Open

CSV files not visible for script #16

michalstolorz opened this issue May 26, 2023 · 1 comment

Comments

@michalstolorz
Copy link

Hello,
I have used files and scripts to setup AdventureWorks for postgres localy but when i run psql -U postgres -d Adventureworks < D:/pgadmin/AdventureWorks-for-Postgres-master/install.sql it created database schema but every time whlie copying data there was an error "./Department.csv: No such file or directory" or "Product.csv: No such file or directory". Please help.

@DomanovSN
Copy link

DomanovSN commented Oct 11, 2024

Hello, I have used files and scripts to setup AdventureWorks for postgres localy but when i run psql -U postgres -d Adventureworks < D:/pgadmin/AdventureWorks-for-Postgres-master/install.sql it created database schema but every time whlie copying data there was an error "./Department.csv: No such file or directory" or "Product.csv: No such file or directory". Please help.

Hello, had the same issue. I think you need to run psql -U postgres -d Adventureworks install.sql from your D:/pgadmin/AdventureWorks-for-Postgres-master folder. The script searches for .csv files in the current folder (e.g. ./Department.csv).
Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants