From: Tom Lane <tgl@sss.pgh.pa.us>
To: andremachado@techforce.com.br
Cc: pgsql-odbc@postgresql.org
Subject: Re: large objects and pg 7.3.x
Date: Mon, 18 Aug 2003 21:22:42 -0400
Message-ID: <18773.1061256162@sss.pgh.pa.us> (raw)
In-Reply-To: <200308182131.18596.andremachado@techforce.com.br>
References: <200308182131.18596.andremachado@techforce.com.br>
Andre Felipe Machado <andremachado@techforce.com.br> writes:
> Since pg 7.3.0, the prescribed workaround to create a new type "lo" does not
> work anymore.
I think this is just a matter of obsolete documentation --- if you can
point to where it still says to use a CREATE TYPE hack, we can fix it.
The easy way to define "lo" now is just as a domain over oid:
CREATE DOMAIN lo AS oid;
> I already tested the semi-official postgresql-contrib package that contains a
> "lo" implementation in c and sql.
However, if you want the cleanup semantics that the contrib package
offers, by all means use it instead. I don't believe ODBC should care
which way you've defined "lo".
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, andremachado@techforce.com.br
Subject: Re: large objects and pg 7.3.x
In-Reply-To: <18773.1061256162@sss.pgh.pa.us>
References: <200308182131.18596.andremachado@techforce.com.br> <18773.1061256162@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