Received: from connectnet2.connectnet.com (spool.connectnet.com [207.110.0.12]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA67845 for ; Mon, 17 Jan 2000 13:00:10 -0500 (EST) (envelope-from bbaldwin@indyme.com) Received: from INDYMEEXCH.INDY.COM (indymemail.indyme.com [207.110.14.226]) by connectnet2.connectnet.com (8.9.1/CONNECTnet-4.0/THROTTLE) with ESMTP id KAA22493 for ; Mon, 17 Jan 2000 10:00:18 -0800 (PST) Received: by INDYMEEXCH with Internet Mail Service (5.5.2650.21) id ; Mon, 17 Jan 2000 10:00:01 -0800 Message-ID: <319A9588FB5ED2119FAC00A0C912E3292786DA@INDYMEEXCH> From: Barry Baldwin To: pgsql-interfaces@postgresql.org Subject: How to insert large objects? Date: Mon, 17 Jan 2000 10:00:00 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi All, I'm creating a Delphi client App, that is connected to a POSTGRES server via ODBC. This app will need to display image files (large objects). I don't need to insert image files with the Delphi App, just display them. Reading the ODBC FAQ I see that I need to create a type called: lo CREATE TYPE lo ( internallength=4, externallength=10, input=int4in, output=int4out, default='', passedbyvalue ); Reading through the archives I see where some people have been able to insert large objects "manually". What does this mean and how do I do it. How do I insert an image file now that I have a type of lo? Any help or suggestions would be most appreciated? Thanks in advance, Barry