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 BC605D1B8B2 for ; Tue, 19 Aug 2003 01:51:34 -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 66212-09 for ; Tue, 19 Aug 2003 01:51:24 -0300 (ADT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 17807D1B89E for ; Tue, 19 Aug 2003 01:51:23 -0300 (ADT) Received: (qmail 18487 invoked from network); 19 Aug 2003 04:44:11 -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:44:11 -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 NAA01623; Tue, 19 Aug 2003 13:44:10 +0900 (JST) Message-ID: <3F41AB41.80E3C1EE@tpf.co.jp> Date: Tue, 19 Aug 2003 13:44:49 +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> <3F41A171.5486A3FC@tpf.co.jp> <19835.1061266098@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/35 X-Sequence-Number: 3155 Tom Lane wrote: > > Hiroshi Inoue writes: > > Tom Lane wrote: > >> 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 ? > > Hm, I think the column type will be reported as "oid", because the > JDBC crowd argued that they didn't want to know about domains. > Is that a problem for ODBC? Probably no except the "lo" domain case. Psqlodbc would be able to convert PG types to corresponding ODBC types using known base types. regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/