Unix Technical Forum

COPY permissions problem - Windows XP

This is a discussion on COPY permissions problem - Windows XP within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> I'm new to postgresql and I'm trying to test the copy command with a csv file. I keep getting ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:18 PM
Nolen, Terry
 
Posts: n/a
Default COPY permissions problem - Windows XP

I'm new to postgresql and I'm trying to test the copy command with a csv
file. I keep getting an error which states that I don't have read
permissions.

My database is owned by postgres, and I'm signed in as postgres. The
table that I'm placing the data into has a different owner. I've tried
changing privileges in windows to allow all access to everyone on this
machine access. I've even shared the machine with external users. I've
move the file to different directorys and created a tablespace with my
new table in it, into the postgres data directory.

I see this type of error on many boards, but they tend to be with a
flavor of unix. I'm really not getting the premise behind what is going
on and why. Could you please assist?

Terry Nolen
Sabre Airline Solutions
682-605-1173

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:18 PM
Jim C. Nasby
 
Posts: n/a
Default Re: COPY permissions problem - Windows XP

On Wed, Dec 21, 2005 at 04:32:17PM -0600, Nolen, Terry wrote:
> I'm new to postgresql and I'm trying to test the copy command with a csv
> file. I keep getting an error which states that I don't have read
> permissions.
>
> My database is owned by postgres, and I'm signed in as postgres. The
> table that I'm placing the data into has a different owner. I've tried
> changing privileges in windows to allow all access to everyone on this
> machine access. I've even shared the machine with external users. I've
> move the file to different directorys and created a tablespace with my
> new table in it, into the postgres data directory.
>
> I see this type of error on many boards, but they tend to be with a
> flavor of unix. I'm really not getting the premise behind what is going
> on and why. Could you please assist?


We need to know exactly what command you're trying to run, if it's in
psql or something else, and the exact error message.
--
Jim C. Nasby, Database Architect decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com