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 F2250D1B8A1 for ; Tue, 19 Aug 2003 01:02:38 -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 56698-04 for ; Tue, 19 Aug 2003 01:02:28 -0300 (ADT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id BE7B5D1B58A for ; Tue, 19 Aug 2003 01:02:26 -0300 (ADT) Received: (qmail 13987 invoked from network); 19 Aug 2003 04:02:25 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 19 Aug 2003 04:02:25 -0000 Received: from tpf.co.jp ([126.0.1.64]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id NAA01608; Tue, 19 Aug 2003 13:02:18 +0900 (JST) Message-ID: <3F41A171.5486A3FC@tpf.co.jp> Date: Tue, 19 Aug 2003 13:02:57 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Tom Lane Cc: andremachado@techforce.com.br, pgsql-odbc@postgresql.org Subject: Re: large objects and pg 7.3.x References: <200308182131.18596.andremachado@techforce.com.br> <18773.1061256162@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/33 X-Sequence-Number: 3153 Tom Lane wrote: > > 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 --- Maybe pointing to contrib/lo is preferable. However, few people take care of contrib/lo and it seems easily broken. PostgreSQL has never supported LO properly and I can't recommend anything for continuous LO use. > 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'm suspicious if it still works even in 7.4. Can we find the oid of the domain "lo" in the row description message from the backend ? regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/