Unix Technical Forum

Re: Problems with PsqlOdbc.

This is a discussion on Re: Problems with PsqlOdbc. within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Cleber Nardelli [mailto:clebernardelli@gmail.com] > Sent: 29 September 2005 00:15 > To: Dave Page > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:27 AM
Dave Page
 
Posts: n/a
Default Re: Problems with PsqlOdbc.



> -----Original Message-----
> From: Cleber Nardelli [mailto:clebernardelli@gmail.com]
> Sent: 29 September 2005 00:15
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Problems with PsqlOdbc.
>
> Hi...
> Dave, I am with 2 problems how much to Driver ODBC. Already I placed
> these questions before.
>
> 1 - I am trying to execute the following set of commands:
>
> BEGIN WORK;
> INSERT INTO TBL VALUES (1,1);
> SAVEPOINT SVPT;
> INSERT INTO TBL VALUES (1,1); /*GENERATES ERROR */
> ROLLBACK TO SAVEPOINT SVPT;
> COMMIT;
>
> When I execute this postgre returns an error in the insertion from as
> register and driver is generating a ROLLBACK automatically for this
> reason. With this the SAVEPOINT does not function therefore the
> transaction already was cancelled. It would be interesting if driver
> did not execute this ROLLBACK automatically, leaving that I decide
> what to make.


Works perfectly for me with the latest driver. You should note though
that savepoint support is not complete yet - Hiroshi Saito is working on
it.

> 2 - With disponibilizado driver currently in the page for download,
> together with version 8.0.3 of postgre, when I execute one select to
> return one or more columns of the type to varchar they do not return.
> I am using type SQL_ASCII. The configurations of locale are ' C '.
> What it can be?


What does disponibilizado mean? Anyway, It sounds like classic symptoms
of using the Unicode driver with a Borland/BDE based application. If so,
switch to the ANSI driver and you should be OK.

Regards, Dave

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com