Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4 - Mailing list pgsql-odbc

From Tom Lane
Subject Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4
Date
Msg-id 15637.1133899180@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4  (Ludek Finstrle <luf@pzkagis.cz>)
Responses Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc
Ludek Finstrle <luf@pzkagis.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

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4
Next
From: Ludek Finstrle
Date:
Subject: Re: [INTERFACES] BLOB handling compatibility with PostgreSQL > 7.4