Thread: psql and lo_import

psql and lo_import

From
"berger, ralf"
Date:
Hi,

is there any way to use lo_import() in psql?

Thanx
    Ralf

--
Fraunhofer IPK
Automatisierung und Robotik
Dipl.-Inf. Ralf Berger
Pascalstr. 8-9
10587 Berlin

Tel.: ++49-(0)30 390 06 129
Mobile: ++49-(0)175 52 50 118
Fax.: ++49-(0)30 391 10 37
Web : http://www.ar.ipk.fhg.de
Web : http://www.e-industrial-services.de

---

In anything at all, perfection is finally attained not when
there is no longer anything to add, but when there is
no longer anything to take away.

Antoine de Saint Exupery

Re: psql and lo_import

From
Tom Lane
Date:
"berger, ralf" <ralf.berger@ipk.fhg.de> writes:
> is there any way to use lo_import() in psql?

See \lo_import

            regards, tom lane

Re: psql and lo_import

From
Peter Eisentraut
Date:
berger, ralf writes:

> is there any way to use lo_import() in psql?

\lo_import filename [comment]

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter