473,394 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Input file:permission denied

hi,

i started the postgresql client the first time and wanted to execute commands from file and got the following error code:
Expand|Select|Wrap|Line Numbers
  1. \i x:\file.sql
  2. x:: Permission denied
i have admin rights, so why?

WinVista Business
PostgreSQL Version 8.2.6

thanks for help
Jan 18 '08 #1
2 15905
rski
700 Expert 512MB
hi,

i started the postgresql client the first time and wanted to execute commands from file and got the following error code:
Expand|Select|Wrap|Line Numbers
  1. \i x:\file.sql
  2. x:: Permission denied
i have admin rights, so why?

WinVista Business
PostgreSQL Version 8.2.6

thanks for help
Check once again if you have correct right and i think it should be something like that
\i E'x:\\file.sql'
see in the manual at postgresql.org
Jan 18 '08 #2
Check once again if you have correct right and i think it should be something like that
\i E'x:\\file.sql'
see in the manual at postgresql.org
ok thanks it works now. it was just
Expand|Select|Wrap|Line Numbers
  1. \i 'x:\\file.sql'
without the"E"
Jan 18 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Chris | last post by:
Thanks to Ingo for refering me to this group. I'm a newbie with perl scripts and I'm having problem running my copied script to my server. Can anybody who is patient enough to help me with my...
11
by: Richard Muller | last post by:
Hi, I new to ASP. I have a problem with an ASP script opening a file for writing on my server. Here's how I got to this error: I downloaded a neat FileUpload ASP example from...
0
by: David Scott | last post by:
Greetings all I am not able to GRANT file permission to users. All permissions end up being issued with FILE being left out. What could I be missing? I running 3.23.53 on Mac OS 10.2. Thank...
1
by: Avner | last post by:
I have a C++ code which I want to upgrade to the standard C++ The code constructs a file and sets the file permission The new iostream library does not include filebuf::openprot The old...
2
by: Sharon | last post by:
Hi. I need to implement a web based file permission dialog. For this i need to get the identities of all NT users. I can get the current identity, but have no idea of how to get all identities....
1
by: Ashraf Moollan | last post by:
Hi all, I was wondering whether anyone would know how to programatically set file permission? Basically I am having the same problem as described on: http://www.vbdotnetforums.com/?f=7&m=601...
4
by: zombek | last post by:
I'm making a small program which takes a folder with images and generates optimized normal-sized images and thumbnails using Python Imaging Lbrary (PIL). The problem is here: ........
3
by: gmax2006 | last post by:
Hi, I am using RedHat Linux 4. and I developed an oracle 10g based application by using cx_Oracle (cx_Oracle-4.1-10g-py23-1.i386.rpm) and Python 2.3.4. When I run the application through...
3
bala2it4u
by: bala2it4u | last post by:
In Asp.net application presently i am giving full purmission for users under security tag of file properties, but people say it is not safe to give full permission to file access If that is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.