Re: use psqlodbc on Windows without Windows driver manager?
| От | Tsunakawa, Takayuki |
|---|---|
| Тема | Re: use psqlodbc on Windows without Windows driver manager? |
| Дата | |
| Msg-id | 0A3221C70F24FB45833433255569204D1F55026F@G01JPEXMBYT05 обсуждение исходный текст |
| Ответ на | Re: use psqlodbc on Windows without Windows driver manager? ("Prisma Computer - M. Neumann" <m.neumann@prisma-computer.de>) |
| Ответы |
Re: use psqlodbc on Windows without Windows driver manager?
|
| Список | 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
thedatabase 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@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Prisma Computer -
> M. Neumann
> Sent: Wednesday, April 13, 2016 5:49 PM
> To: pgsql-odbc@postgresql.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
В списке pgsql-odbc по дате отправления: