Received: from Mythos.Org (IDENT:root@clt93-023.carolina.rr.com [24.93.93.23]) by hub.org (8.9.3/8.9.3) with ESMTP id PAA41823 for ; Fri, 25 Jun 1999 15:38:29 -0400 (EDT) (envelope-from postgres@www.Mythos.Org) Received: (from postgres@localhost) by Mythos.Org (8.8.7/8.8.7) id PAA16993 for pgsql-interfaces@postgreSQL.org; Fri, 25 Jun 1999 15:45:11 -0400 Message-ID: <19990625154507.A16765@Gateway.mythos.org> Date: Fri, 25 Jun 1999 15:45:07 -0400 From: PostgreSQL Admin To: pgsql-interfaces@postgreSQL.org Subject: libpq, Large Objects, Type lo Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 I have an app written in Borland C++ Builder accessing Blobs in the database All is well, I have set up the user defined type of "lo" and the Borland Windows app add/deletes blobs beautifully. The problem comes in the unix enviroment, where I would like to interact with the blobs via libpq. How to I access these blobs... ------------------------------- select image_oid from footable where image_oid is not null; image_oid --------- 136001 but .... select lo_export(image_oid),'/tmp/foo.jpg') from footable where image_oid is not null; ERROR: No such function 'lo_export' with the specified attributes this is from psql, and I get simialer errors from my small c proggie. Thanks, Travis