Re: Running regression tests on Windows

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Running regression tests on Windows
Date: 2014-05-20 16:38:56
Message-ID: 537B8520.1070800@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2014-05-21 05:53:09 Re: Running regression tests on Windows
Previous Message Michael Paquier 2014-05-20 13:31:22 Running regression tests on Windows