Re: large objects in 7.3 - Mailing list pgsql-novice

From Tom Lane
Subject Re: large objects in 7.3
Date
Msg-id 20357.1051281648@sss.pgh.pa.us
Whole thread Raw
In response to large objects in 7.3  ("Dick Wieland" <dick.wieland@wiline.com>)
List pgsql-novice
"Dick Wieland" <dick.wieland@wiline.com> writes:
> another question is . how does one use \lo_import in psql?

See the psql man page, about halfway down --- the \lo_xxx commands are
in alphabetical order along with the other backslash commands, under
the heading "Meta-Commands".

> and finally
>             the test program does not run on a remote database.

It would if you ran it as postgres superuser ;-).  But realistically you
probably want to import/export files to your own filesystem, not the
server's filesystem.  For this you want client-side operations ---
either psql's \lo_xxx commands, or the libpq large-object functions they
are built upon.

            regards, tom lane


pgsql-novice by date:

Previous
From: "David Olbersen"
Date:
Subject: Re: ODBC & Access [Try 2]
Next
From: Bruno Wolff III
Date:
Subject: Re: Automated copy command?