Re: ODBC Open cursors on views - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: ODBC Open cursors on views
Date
Msg-id 000c01c3671b$ae5fd5c0$3d283ddb@PbgX
Whole thread Raw
In response to Re: ODBC Open cursors on views  (Shachar Shemesh <psql@shemesh.biz>)
List pgsql-odbc
> -----Original Message-----
> From: Shachar Shemesh [mailto:psql@shemesh.biz]
>
> Quoting Shachar Shemesh <psql@shemesh.biz>:
>
> I found the source of the problem.
>
> I'm using the CVS version. options.c, line 73, has the following:
>             else if (ci->updatable_cursors)
>                 setval = SQL_CONCUR_ROWVER;
> In other words, if updateable cursors are at all available,
> they will override
> whatever I choose to use for concurrency settings.

Oops my mistake. You are right.
I seem to have forgotten to put an "else" before the previous
"if (ci->drivers.lie)" .
I would commit the fix to cvs tomorrow.

Thanks.
Hiroshi Inoue


pgsql-odbc by date:

Previous
From: Shachar Shemesh
Date:
Subject: Re: ODBC Open cursors on views
Next
From: "Bob Nix"
Date:
Subject: error connecting to PostgreSQL database