| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Dick Wieland" <dick(dot)wieland(at)wiline(dot)com> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | Re: large objects in 7.3 |
| Date: | 2003-04-25 14:40:48 |
| Message-ID: | 20357.1051281648@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
"Dick Wieland" <dick(dot)wieland(at)wiline(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruno Wolff III | 2003-04-25 16:19:16 | Re: Automated copy command? |
| Previous Message | David Olbersen | 2003-04-25 14:34:14 | Re: ODBC & Access [Try 2] |