Re: load sql from the file in postgresql

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: load sql from the file in postgresql
Дата
Msg-id 201104290632.44991.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: load sql from the file in postgresql  (Raghavendra <raghavendra.rao@enterprisedb.com>)
Список pgsql-general
On Friday, April 29, 2011 4:01:03 am Raghavendra wrote:
> > \i  C:\psql\loaddata.sql
> >
> >
> > But it says " C:: Permission denied"
>
> Give the permission to postgres user on 'loaddata.sql' file. Right click
> and in properties give full access to postgres user.

Just to be clear this means the user you are logged in as when you do the \i
command, which may or may not be the user postgres.  The rule is, COPY runs with
the permissions of the server and \copy with the permissions of the client.

>
> Best Regards,
> Raghavendra


--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Sukuchha Shrestha
Дата:
Сообщение: Connecting matlab with postgresql
Следующее
От: Phoenix Kiula
Дата:
Сообщение: Re: NULL saves disk space?