Re: use psqlodbc on Windows without Windows driver manager?

From: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
To: "Prisma Computer - M(dot) Neumann" <m(dot)neumann(at)prisma-computer(dot)de>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: use psqlodbc on Windows without Windows driver manager?
Date: 2016-04-14 00:16:46
Message-ID: 0A3221C70F24FB45833433255569204D1F55026F@G01JPEXMBYT05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hello, Malte,

Dieter wants to use the driver without registering it in the registry. Is it really possible? I know I can connect to the database without "registering the data source" with the connection string for SQLDriverConnect() like this:

DRIVER={PostgreSQL ANSI Driver};Servername=127.0.0.1;Port=5432;UID=xxx;Password=yyy;Database=postgres

FYI, I tried setting the absolute path of the driver DLL file to DRIVER keyword, but it didn't work.

Regards
Takayuki Tsunakawa

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Prisma Computer -
> M. Neumann
> Sent: Wednesday, April 13, 2016 5:49 PM
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: Re: [ODBC] use psqlodbc on Windows without Windows driver manager?
>
> Hello Dieter,
>
> it is possible to use the odbc-driver without the windows driver manager.
>
> You only need to change the connection-function. Instead of Calling
> SQLConnect use SQLDriverConnect with the correct connectionstring.
>
> Kind regards,
> Malte

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Prisma Computer - M. Neumann 2016-04-14 07:34:02 Re: use psqlodbc on Windows without Windows driver manager?
Previous Message Huong Dangminh 2016-04-13 11:15:59 Re: Why does binary of 09.05.0100 version was built with Visual Studio 2013?