Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
Дата
Msg-id 20060909120613.GA10336@svana.org
обсуждение исходный текст
Ответ на Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.  ("Purusothaman A" <purusothaman.a@gmail.com>)
Ответы Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.  ("Purusothaman A" <purusothaman.a@gmail.com>)
Список pgsql-general
On Sat, Sep 09, 2006 at 05:19:26PM +0530, Purusothaman A wrote:
> I usually log in to postgresql server with admin username.
>
> But whatever its, according to documentation, if client machine's user has
> write access
> permission, this query should successfully be executed.

Read carefully, you are using the server-side functions, therefore:

"These two functions read and write files in the server's file system,
using the permissions of the database's owning user."

What your client user is is irrelevent. Perhaps you actually want to
use the client-side functions?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Purusothaman A"
Дата:
Сообщение: Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.
Следующее
От: Poul Jensen
Дата:
Сообщение: Re: ECPG - how to fetch then sort strings