Re: BLOB handling compatibility with PostgreSQL > 7.4

From: Marc Herbert <Marc(dot)Herbert(at)continuent(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: BLOB handling compatibility with PostgreSQL > 7.4
Date: 2005-12-08 13:59:23
Message-ID: 871x0nr8p0.fsf@meije.emic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> Marc Herbert wrote:
>> Ludek Finstrle <luf(at)pzkagis(dot)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.

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Eisentraut 2005-12-08 18:11:29 Re: BLOB handling compatibility with PostgreSQL > 7.4
Previous Message Peter Eisentraut 2005-12-08 09:55:12 Re: BLOB handling compatibility with PostgreSQL > 7.4

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2005-12-08 15:43:41 [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction
Previous Message Dave Page 2005-12-08 13:54:14 Re: 07.03.02.08 snapshot version for download