Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux