Reg: Permission error in Windows psql while trying to read sql commands from file

Поиск
Список
Период
Сортировка
От Raj K
Тема Reg: Permission error in Windows psql while trying to read sql commands from file
Дата
Msg-id 6373f61d0810111038i207973b5mb1e069471888307a@mail.gmail.com
обсуждение исходный текст
Ответы Re: Reg: Permission error in Windows psql while trying to read sql commands from file  (Raymond O'Donnell <rod@iol.ie>)
Список pgsql-general
Hi all,
     I am a DB newbie and I am facing an issue.
     I installed postgresql in windows - and now I am facing an issue while trying to read sql commands from file.

testdb=# \i c:\testdb.txt
c:: Permission denied

     I tried moving the file to the shared folder, but of no use.
testdb=# \i  C:\Documents and Settings\All Users\Documents\DB\testdb.txt
C:: Permission denied

     I have a lot of sql commands in the file, so it is difficult to type in the same everytime.
     If somebody can help me out on this, I would be much obliged.

Thank you in advance,
Regards,
Raj

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Starting PostgreSQL
Следующее
От: "Grzegorz Jaśkiewicz"
Дата:
Сообщение: PQexecParams question