Re: [ODBC] BLOB handling compatibility with PostgreSQL > 7.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ludek Finstrle <luf(at)pzkagis(dot)cz>
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] BLOB handling compatibility with PostgreSQL > 7.4
Date: 2005-12-06 19:59:40
Message-ID: 15637.1133899180@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-odbc

Ludek Finstrle <luf(at)pzkagis(dot)cz> writes:
>> If you want an add-on datatype that is really different from OID, then
>> make a real datatype (CREATE TYPE). You can still piggyback on OID as
>> the representation type --- steal its I/O functions and so on.

> Does it cover lo_export which need oid as second parameter?

You could make an implicit cast from lo to oid ... perhaps not the other
direction, though.

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ludek Finstrle 2005-12-06 21:50:22 Re: [ODBC] BLOB handling compatibility with PostgreSQL > 7.4
Previous Message Steve Howe 2005-12-06 19:29:18 Re: [ODBC] BLOB handling compatibility with PostgreSQL

Browse pgsql-odbc by date

  From Date Subject
Next Message DWilkerson 2005-12-06 21:44:05 ERROR - no error information available
Previous Message Steve Howe 2005-12-06 19:29:18 Re: [ODBC] BLOB handling compatibility with PostgreSQL