Skip site navigation (1) Skip section navigation (2)

[INTERFACES] C++ Builder (Delphi), ODBC and large objects

From: "angg" <angg(at)vng(dot)ru>
To: <pgsql-interfaces(at)hub(dot)org>
Subject: [INTERFACES] C++ Builder (Delphi), ODBC and large objects
Date: 1998-10-21 08:16:17
Message-ID: 01bdfccb$13ee8000$0b02a8c0@mis1 (view raw or flat)
Thread:
Lists: pgsql-interfaces
David Hartwig (DH) wrote:
ANGG wrote:

ANGG>> 1 Does anybody use large objects with C++ Builder (Delphi), BDE,
ODBC,
ANGG>> PostgreSQL?

DH>Yes, occasionally - without any problem.

WHO?!!! Answer me, please (the problem makes me trow out half a year's work
as useless garbage)

DH>Have you seen
DH> http://www.insightdist.com/psqlodbc/psqlodbc_faq.html#largeobjects

Yes, I create large object as it reccomends
create type lo

    internallength=4,  externallength=10,
    input=int4in, output=int4out,
    default='',  passedbyvalue
);
and have all the problems I say here about.

By the way, PostgreSQL's man create_type recommends another way to create
the large object type:
create type bigobj (
  input = lo_filein,
  output = lo_fileout,
  internallength = variable
);

Can anybody tell me how should I implement lo_filein and lo_fileout in this
case?

Thank you, Mikhail.





Responses

pgsql-interfaces by date

Next:From: franz-josef.ziegertDate: 1998-10-21 10:49:23
Subject: MSIE40 and JDBC
Previous:From: Colin McKinnonDate: 1998-10-21 07:48:51
Subject: Re: using indexes with the OR clause

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group