Re: PostgreSQL crash at SQLColAttribute()

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bala krishna Devasani <baalaa13(at)gmail(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org >> pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: PostgreSQL crash at SQLColAttribute()
Date: 2014-10-17 15:04:58
Message-ID: 5441301A.6060904@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 10/17/2014 12:22 AM, Bala krishna Devasani wrote:
> No error message were getting . My application is simply getting crashed
> at function SQLGetInfo().
>
> i am using linux ubuntu (12.04)
>
> PostgreSQL:PostgreSQL 9.1
> unixODBC (2.3.2),
> PostgreSQL
> database (9.1),
> psqlodbc driver (3.03) ,
> libodbc++-0.2.3
>
>
> Can u please tell me what might be the problem. is it a problem with
> *postgresql odbc driver* (or) *unix odbc driver* ???

Do not have a clue and without more information I doubt it is solvable.

So:

1) What application are using?

2) What are you doing when you use SQLGetInfo()?
The code that you are using would be helpful.

3) You mentioned something about a trace. Is there information available
from that trace?

4) If not can you set up a trace?

5) Have you set up logging in ODBC?
If so what is in the logs?
If not set it up and then run the code.

>
> Thanks & Regards
> Balakrishna
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message rohtodeveloper 2014-10-20 11:56:00 This may be a bug: odbc's function"check_client_encoding" have the same name with postgres's function.
Previous Message Oliver Freyd 2014-10-17 12:49:06 Re: [PATCH] SQLFreeStmt deletes params, but does not reset the stmt->prepared state.