Unix Technical Forum

Re: error messages?

This is a discussion on Re: error messages? within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Resending the message... > > We have installed the odbc driver and are using it as our primary access ...


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 01:46 AM
Antoine
 
Posts: n/a
Default Re: error messages?

Resending the message...

>
> We have installed the odbc driver and are using it as our primary access
> method via vb6. When developing, however, we only get pretty much one error
> message... something like "The driver does not support this functionality"
> (but in French, as the doze installs are French ones). This is certainly the
> only message we get when there are sql errors. Is something wrong here?
> Are their more complete messages in English? Can I turn these on somehow?
> Cheers
> Antoine
>



--
This is where I should put some witty comment.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 01:46 AM
Ludek Finstrle
 
Posts: n/a
Default Re: error messages?

Hello,

> We have installed the odbc driver and are using it as our primary access


Which version of psqlodbc? Againist which PgSQL?

> method via vb6. When developing, however, we only get pretty much one error
> message... something like "The driver does not support this functionality"


Maybe you only try unsupported functionality. What mylog output says?

> only message we get when there are sql errors. Is something wrong here?
> Are their more complete messages in English? Can I turn these on somehow?


We don't know how you get the error report. What about SQLSTATE and
error number?

I'm sorry I don't know your situation and you don't describe it well.
Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-16-2008, 01:46 AM
Antoine
 
Posts: n/a
Default Re: error messages?

Ludek Finstrle wrote:
> Hello,
>
>
>>We have installed the odbc driver and are using it as our primary access

>
>
> Which version of psqlodbc? Againist which PgSQL?


Sorry, 8.01.0105 against 8.1.0

>>method via vb6. When developing, however, we only get pretty much one error
>>message... something like "The driver does not support this functionality"

>
>
> Maybe you only try unsupported functionality. What mylog output says?


nope, even "slect * from my_table" gets the same.

> We don't know how you get the error report. What about SQLSTATE and
> error number?


it is by getting the err.description from ado 2.6 under vb6. They all
have the same error number. I will give it a go tomorrow.

> I'm sorry I don't know your situation and you don't describe it well.
> Regards,


Sorry again...
Chrs
A


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-16-2008, 01:46 AM
Ludek Finstrle
 
Posts: n/a
Default Re: error messages?

> >Which version of psqlodbc? Againist which PgSQL?
>
> Sorry, 8.01.0105 against 8.1.0


There is a bug in 08.01.0105 and the fix since 08.01.0106:
| 2) psqlodbc-sqlstate.diff
| fix sqlstate iin case of error in statement

Please try recent development version (08.01.0107 or 08.01.0106 at least).

Milton: Does it solve your problem too?

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-16-2008, 01:46 AM
Milton
 
Posts: n/a
Default Re: error messages?

No.. iīm still with this problem, i use the last revision(08.01.06)

You can see that with application than i sent to you.

----- Original Message -----
From: "Ludek Finstrle" <luf@pzkagis.cz>
To: "Antoine" <melser.anton@gmail.com>
Cc: <pgsql-odbc@postgresql.org>
Sent: Wednesday, January 18, 2006 5:15 AM
Subject: Re: [ODBC] error messages?


> >Which version of psqlodbc? Againist which PgSQL?

>
> Sorry, 8.01.0105 against 8.1.0


There is a bug in 08.01.0105 and the fix since 08.01.0106:
| 2) psqlodbc-sqlstate.diff
| fix sqlstate iin case of error in statement

Please try recent development version (08.01.0107 or 08.01.0106 at least).

Milton: Does it solve your problem too?

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq



---------------------------(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
  #6 (permalink)  
Old 04-16-2008, 01:46 AM
Ludek Finstrle
 
Posts: n/a
Default patch: error messages?

> No.. iīm still with this problem, i use the last revision(08.01.06)
>
> You can see that with application than i sent to you.


I hope I solve the problem. I don't know if I don't add another one.
Patch appliead.

Please review and comment

Luf


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-16-2008, 01:47 AM
Milton
 
Posts: n/a
Default Re: patch: error messages?

Itīs seems ok.

However, i expected that the error number is in the property
"rdoError(0).number", not in description, because i guess itīs a default in
the others DB. In the Oracle, Informix and Sqlserver drive, work like this.

Finally, I think the best would be been in the place of the 7 it went the
error number of DB.

You are more experience than i . What do you think about that?

----- Original Message -----
From: "Ludek Finstrle" <luf@pzkagis.cz>
To: "Milton" <milton.siqueira@mapcardoso.com.br>
Sent: Monday, January 23, 2006 3:40 PM
Subject: Re: patch: [ODBC] error messages?


> Please, Could you send me the DLLīs?


Here you're :-) Please drop me a note if it's ok or not.

Regards,

Luf



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-16-2008, 01:48 AM
Ludek Finstrle
 
Posts: n/a
Default Re: error messages?

> However, i expected that the error number is in the property
> "rdoError(0).number", not in description, because i guess itīs a default in
> the others DB. In the Oracle, Informix and Sqlserver drive, work like this.
>
> Finally, I think the best would be been in the place of the 7 it went the
> error number of DB.
>
> You are more experience than i . What do you think about that?


I'm not much more experienced than you. psqlODBC return 7 for long
time so I don't want change it in 08.01 life cycle. It could break
many application which could depend on 7.

I think you may be able to ask for SQLSTATE separately from description.
BTW SQLSTATE is database backend independant so it could be better
to support SQLSTATE instead of native error number which differ between
databases.

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

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 11:28 PM.


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