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

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 (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

pgsql-odbc by date

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

pgsql-interfaces by date

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

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