pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
To: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Running regression tests on Windows
Date: Tue, 20 May 2014 19:38:56 +0300
Message-ID: <537B8520.1070800@vmware.com> (raw)
In-Reply-To: <CAB7nPqSZ1E42fdAaP4NjDG6HeC14WuWRN0rhR_eFHTuMV0KBdg@mail.gmail.com>
References: <CAB7nPqSZ1E42fdAaP4NjDG6HeC14WuWRN0rhR_eFHTuMV0KBdg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (9+ messages)  latest in thread

Message-ID: <537B8520.1070800@vmware.com>
Permalink:  ../537B8520.1070800@vmware.com/
Also on:    postgresql.org/message-id/537B8520.1070800@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com
  Subject: Re: Running regression tests on Windows
  In-Reply-To: <537B8520.1070800@vmware.com>
  References: <CAB7nPqSZ1E42fdAaP4NjDG6HeC14WuWRN0rhR_eFHTuMV0KBdg@mail.gmail.com> <537B8520.1070800@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox