From: Barry Baldwin <bbaldwin@indyme.com>
To: pgsql-interfaces@postgresql.org
Subject: How to insert large objects?
Date: Mon, 17 Jan 2000 10:00:00 -0800
Message-ID: <319A9588FB5ED2119FAC00A0C912E3292786DA@INDYMEEXCH> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: bbaldwin@indyme.com
Subject: Re: How to insert large objects?
In-Reply-To: <319A9588FB5ED2119FAC00A0C912E3292786DA@INDYMEEXCH>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox