pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-interfaces@postgresql.org
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] BLOB handling compatibility with PostgreSQL > 7.4
Date: Tue, 06 Dec 2005 14:59:40 -0500
Message-ID: <15637.1133899180@sss.pgh.pa.us> (raw)
In-Reply-To: <20051206192749.GA24711@soptik.pzkagis.cz>
References: <438B792D.6030802@bnl.gov>
	<20051205212806.GA17690@soptik.pzkagis.cz>
	<20051206142811.GA23334@soptik.pzkagis.cz>
	<259.1133881501@sss.pgh.pa.us>
	<20051206184402.GA24475@soptik.pzkagis.cz>
	<15186.1133896033@sss.pgh.pa.us>
	<20051206192749.GA24711@soptik.pzkagis.cz>

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



view thread (24+ messages)  latest in thread

Message-ID: <15637.1133899180@sss.pgh.pa.us>
Permalink:  ../15637.1133899180@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15637.1133899180@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, luf@pzkagis.cz, pgsql-odbc@postgresql.org
  Subject: Re: [ODBC] BLOB handling compatibility with PostgreSQL > 7.4
  In-Reply-To: <15637.1133899180@sss.pgh.pa.us>

* 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