use of client-side \lo_import and \lo_export commands

From: "Viacheslav Kovalchuk" <slavic1(at)hotmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: use of client-side \lo_import and \lo_export commands
Date: 2002-07-25 12:57:15
Message-ID: F52OeIiGXix4A2DreBB0001cef4@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I am trying to insert a large object into my dbs
using: INSERT INTO table VALUES (lo_import ( ' z/image/image.jpg ' ));

but i get the message saying that I need superuser privilidges to do it and
that I should use client-side
\lo_import command.

Does anyone know how to use that command? And what is the syntax for
\lo_import and export commands?

Many thanks in advance.
Slava

Viacheslav Kovalchuk
--------------------
slavic1(at)hotmail(dot)com

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Browse pgsql-sql by date

  From Date Subject
Next Message Rogério Baldini das Neves 2002-07-25 13:36:09 Using Tables from another database.
Previous Message Richard Huxton 2002-07-25 10:46:57 Re: Return Primary Key from Procedure