install sample database error

Поиск
Список
Период
Сортировка
От Cao, Xiaowei
Тема install sample database error
Дата
Msg-id MWHPR0401MB351540C74EB0D1DB8367B15ECBDC0@MWHPR0401MB3515.namprd04.prod.outlook.com
обсуждение исходный текст
Ответы Re: install sample database error  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-sql

I tried to download the postgresql sample database dvdrental to install on ubuntu.  This is a test environment.

I got some errors while running the restore.sql in the downloaded file.

Psql : restore.sql 1015: Error: could not open file $$PATH$$/3077.dat for reading: NO such file or directory.

And the same error for all other dat files…

 

I guessed  first the permission issue, I tried to give the file directory the widest privilege like 777, but still has this error.

Database and tables are created, but there are no rows in table.

 

What could be wrong, what does $$PATH$$ mean?

 

Thanks,

 

Anne Cao

В списке pgsql-sql по дате отправления:

Предыдущее
От: Rick Vincent
Дата:
Сообщение: RE: Implicit typecast behavior
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: install sample database error