X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C8E5AD1DAC4 for ; Tue, 9 Mar 2004 17:11:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 97406-07 for ; Tue, 9 Mar 2004 13:11:31 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id D2C86D1B906 for ; Tue, 9 Mar 2004 13:11:28 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i29HBHR3026541; Tue, 9 Mar 2004 12:11:17 -0500 (EST) To: "Dave Page" Cc: "Stergios Zissakis" , pgsql-odbc@postgresql.org, "Kostas Lykiardopoulos" , "Dimitris Pantermalis" Subject: Re: Mutli-threading and performance of ODBC In-reply-to: <03AF4E498C591348A42FC93DEA9661B889F623@mail.vale-housing.co.uk> References: <03AF4E498C591348A42FC93DEA9661B889F623@mail.vale-housing.co.uk> Comments: In-reply-to "Dave Page" message dated "Tue, 09 Mar 2004 17:04:38 +0000" Date: Tue, 09 Mar 2004 12:11:16 -0500 Message-ID: <26540.1078852276@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/14 X-Sequence-Number: 3816 "Dave Page" writes: > I thought unixODBC was merely the driver manager - didn't realise they > had some drivers as well, hence why I assumed the problem was with > psqlODBC. No, they've got a pile of embedded drivers: $ du unixODBC-2.2.8/Drivers 132 unixODBC-2.2.8/Drivers/MySQL/samples 1928 unixODBC-2.2.8/Drivers/MySQL 994 unixODBC-2.2.8/Drivers/PostgreSQL 1054 unixODBC-2.2.8/Drivers/Postgre7.1 88 unixODBC-2.2.8/Drivers/txt/doc 736 unixODBC-2.2.8/Drivers/txt 22 unixODBC-2.2.8/Drivers/odbc 436 unixODBC-2.2.8/Drivers/template 516 unixODBC-2.2.8/Drivers/MiniSQL 570 unixODBC-2.2.8/Drivers/nn 6292 unixODBC-2.2.8/Drivers I have not tried to compare carefully, but judging by the snippet you just posted versus the KSQO-related code I just grepped for, what's in unixODBC is a rather distant ancestor of the present psqlODBC. I am not too sure what the MySQL driver is doing in there either ... I know there is a separately maintained MyODBC package ... regards, tom lane