COPY Command and a non superuser user?

Started by Warren Bellalmost 19 years ago2 messagesgeneral
Jump to latest
#1Warren Bell
warren@clarksnutrition.com

How do I get a non superuser user to be able to run the COPY command?

--
Thanks,

Warren

#2Scott Marlowe
smarlowe@g2switchworks.com
In reply to: Warren Bell (#1)
Re: COPY Command and a non superuser user?

Warren wrote:

How do I get a non superuser user to be able to run the COPY command?

You can copy to / from the stdin.

non-superusers cannot run copy to / from a file, since the copy to /
from a file does so with the access authority of the postgres user and
could be used to do "bad things" TM