Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmn4M-0001Dc-1o for pgsql-odbc@arkaria.postgresql.org; Tue, 20 May 2014 16:39:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wmn4L-0005r1-8d for pgsql-odbc@arkaria.postgresql.org; Tue, 20 May 2014 16:39:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmn4J-0005oW-K9 for pgsql-odbc@postgresql.org; Tue, 20 May 2014 16:39:11 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wmn4F-000183-Fn for pgsql-odbc@postgresql.org; Tue, 20 May 2014 16:39:11 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 1CCC429C9D; Tue, 20 May 2014 09:39:01 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 1476940566; Tue, 20 May 2014 09:39:01 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 93D51120030; Tue, 20 May 2014 09:39:08 -0700 (PDT) Received: from [10.203.130.64] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Tue, 20 May 2014 09:39:08 -0700 (PDT) Message-ID: <537B8520.1070800@vmware.com> Date: Tue, 20 May 2014 19:38:56 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Michael Paquier , PostgreSQL mailing lists Subject: Re: Running regression tests on Windows References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.6 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 05/20/2014 04:31 PM, Michael Paquier wrote: > Now, I am trying to figure out how to run those regressions with > pg_regress. On Linux, we use a given combination of odbcinst.ini and > odbc.ini with a launcher that actually sets ODBCSYSINI to set the path > where looking for the .ini files. I have been trying several combinations > of --launcher as well as setting up ODBCSYSINI in either the makefile or as > an environment viriable without success, pg_regress continues to complain > with the following error: > ! SQLDriverConnect failed. > ! IM002=[Microsoft][ODBC Driver Manager] Data source name not found and no > default driver specified > So obviously pg_regress is not able to find the initialization files > properly... I believe the ODBCSYSINI environment variable is specific to unixodbc, and not obeyed by the Windows ODBC library. I don't know the preferred way to do it on Windows would be. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc