Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (8.11.3/8.11.1) with SMTP id f660Jha06622 for ; Thu, 5 Jul 2001 20:19:44 -0400 (EDT) (envelope-from Inoue@tpf.co.jp) Received: (qmail 25378 invoked from network); 6 Jul 2001 00:19:38 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 6 Jul 2001 00:19:38 -0000 Received: from tpf.co.jp ([126.0.1.68]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id JAA07739; Fri, 6 Jul 2001 09:19:37 +0900 (JST) Message-ID: <3B450464.8E52CA70@tpf.co.jp> Date: Fri, 06 Jul 2001 09:20:52 +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: NTB Technical Support , pgsql-interfaces@postgresql.org Subject: Re: ADO and ODBC: More References: <000d01c1056a$00dadc20$2780bcc3@northeast.co.uk> <3419.994351105@sss.pgh.pa.us> <004301c10578$0d4dc720$2780bcc3@northeast.co.uk> <3779.994357122@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200107/33 X-Sequence-Number: 1786 Tom Lane wrote: > > "NTB Technical Support" writes: > >> I'd write it off as broken code in ADO, and program around it by not > >> using column names that require quoting. Ugly answer, but it's not > >> clear that you have an alternative (short of waiting for an ADO fix). > > > I just don't fancy modifying all those hundreds of pages of > > code... And it works with SQL Server, so that would have to be broken > > in a compatible fashion! > > It does eh? Hmm, that suggests that there is *some* way to make the > right thing happen. Anyone know how Microsoft's version of > SQLColAttributes acts with such names? > ADO doesn't need ODBC essentially and M$ SQL Server has its own OLE DB provider. PostgreSQL doesn't have its OLE DB provider implementation yet and has to use M$ OLD DB provider for ODBC. I don't know why the table name is quoted but the column names aren't. There are many applications which quote column/table names properly(unconditionally?). So it seems very hard to change SQLxxxx. Another way is to implement driver cursors. Actually I plan to implement static/keyset-driven cursors. However I'm not sure I can do it and couldn't guarantee when it is ready. regards, Hiroshi Inoue