Re: Importing blob

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Patrick Nelson <pnelson(at)neatech(dot)com>
Cc: "'PostgreSQL List (E-mail)'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Importing blob
Date: 2002-08-07 18:00:39
Message-ID: m3znvywnug.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Patrick Nelson <pnelson(at)neatech(dot)com> writes:

> So it is actually the server that imports the file so it has to be on the
> server. Also, the directory (and subdirs) all have to have rx ability to
> the PostgreSQL daemon user. The file needs min r for the PostgreSQL daemon
> user.

Yup.

> This is a bit confusing, wonder why a client wouldn't be able to insert a
> blob?

You can, but you have to call the lo_import function in the *client*
library, not the server-side function. See the client library docs.
Yes, it's slightly confusing until you figure it out.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Seidman 2002-08-07 22:41:22 transactions, serial ids, and JDBC
Previous Message Chris Bowlby 2002-08-07 17:33:44 datetime function