X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 48653D1B8A1 for ; Mon, 18 Aug 2003 22:22:49 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 17524-09 for ; Mon, 18 Aug 2003 22:22:42 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 54939D1B89E for ; Mon, 18 Aug 2003 22:22:38 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7J1Mg5H018774; Mon, 18 Aug 2003 21:22:42 -0400 (EDT) To: andremachado@techforce.com.br Cc: pgsql-odbc@postgresql.org Subject: Re: large objects and pg 7.3.x In-reply-to: <200308182131.18596.andremachado@techforce.com.br> References: <200308182131.18596.andremachado@techforce.com.br> Comments: In-reply-to Andre Felipe Machado message dated "Mon, 18 Aug 2003 21:31:18 -0300" Date: Mon, 18 Aug 2003 21:22:42 -0400 Message-ID: <18773.1061256162@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/32 X-Sequence-Number: 3152 Andre Felipe Machado 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