pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Herbert <Marc.Herbert@continuent.com>
To: pgsql-odbc@postgresql.org
Subject: Re: BLOB handling compatibility with PostgreSQL > 7.4
Date: Thu, 08 Dec 2005 14:59:23 +0100
Message-ID: <871x0nr8p0.fsf@meije.emic.fr> (raw)
References: <438B792D.6030802@bnl.gov>
	<20051206192749.GA24711@soptik.pzkagis.cz>
	<874q5l40fp.fsf@meije.emic.fr>
	<200512081055.12263.peter_e@gmx.net>

Peter Eisentraut <peter_e@gmx.net> writes:

> Marc Herbert wrote:
>> Ludek Finstrle <luf@pzkagis.cz> writes:
>> >  Type oid doesn't represent only large objects.
>>
>> This is IMHO the original sin. oid is overloaded as both an internal
>> type and something the basic user has to play with.
>
> Why aren't you using bytea?  Is that not supported by the ODBC driver?

We are developping a middleware and are not free to choose our data
types.

As far as i know, the implementation of bytea and large objects in the
database are totally different and I suspect there are good reasons to
use either one of them, depending on the actual data and application
involved.








view thread (24+ messages)  latest in thread

Message-ID: <871x0nr8p0.fsf@meije.emic.fr>
Permalink:  ../871x0nr8p0.fsf@meije.emic.fr/
Also on:    postgresql.org/message-id/871x0nr8p0.fsf@meije.emic.fr

 · 

reply

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: Marc.Herbert@continuent.com, pgsql-odbc@postgresql.org
  Subject: Re: BLOB handling compatibility with PostgreSQL > 7.4
  In-Reply-To: <871x0nr8p0.fsf@meije.emic.fr>

* 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