Re: [INTERFACES] Connecting settings in PsqlODBC - Mailing list pgsql-interfaces

From Byron Nikolaidis
Subject Re: [INTERFACES] Connecting settings in PsqlODBC
Date
Msg-id 35AFC019.7AE1D9A3@insightdist.com
Whole thread Raw
In response to Connecting settings in PsqlODBC  (wojtek <wojtek@itl.waw.pl>)
List pgsql-interfaces
wojtek wrote:
>
> Hello,
>
> I use PostgreSQL ODBC driver. This is 6.30.0246 version of
> that product.
>
> One of the advanced options of the driver (in section 'Connection') is
> field
> called as 'Connecting settings'. It gives the ability to run SQL
> commands
> at the momment of connecting. They say, that if someone wants to run a
> few commands, they should be separated by a semi-colon (;). My problem
> is that it doesn't work on my computer! Does anyone have any suggestions
>
> where the problem is?

Sorry, you were right.  Only the first command is getting run *after*
the first connect.  The reason is that the semicolans in the connect
settings is interfering with the semicolans used to separate the
SQLDriverConnect string.

I will fix it in the next release.

Byron

pgsql-interfaces by date:

Previous
From: Robert Knop
Date:
Subject: Postgres and IDL via libpq
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [INTERFACES] Applixware ODBC Interface