Re: PostgreSQL crash at SQLColAttribute()

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bala krishna Devasani <baalaa13(at)gmail(dot)com>, Jade Koskela <jkoskela0(at)gmail(dot)com>, pgsql-odbc(at)postgresql(dot)org, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Subject: Re: PostgreSQL crash at SQLColAttribute()
Date: 2014-10-16 20:02:54
Message-ID: 5440246E.4090303@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 10/15/2014 10:01 PM, Bala krishna Devasani wrote:
> Description: i am using postgresql database as a backend,connecting to
> postgres with *unixodbc driver manager and libodbc++ library and
> psqlodbc driver*. when i try to run my application to query some data it
> is getting crashed. It is getting crashed at random functions.
>
> i cannot exactly trace which function it is crashing.
>
> it is crashing at three functions like
> **
>
> 1. SQLColAttribute
> 2. SQLGetInfo
>
>
>
> PostgreSQL version number you are running:
>
> How you installed PostgreSQL:PostgreSQL 9.1 linux ubuntu
>
> Changes made to the settings in the postgresql.conf file: No
>
> Operating system and version:linux ubuntu 12.04 (64-bit)
>
> What program you're using to connect to PostgreSQL:libodbc++-0.2.3
> (libodbc++) library
>
> PostgreSQL odbc driver : psqlodbc version(3.03)
>
> ODBC using:unixODBC-2.3.2
> <ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.2.tar.gz>
>
>
> For questions about any kind of error:
>
> Description : i am trying to connect my application to PostgreSQL.
> while i am trying run select query's it is getting crashed at certain
> functions.
>
> i am using linux ubuntu (12.04) with unixODBC (2.3.2), PostgreSQL
> database (9.1), psqlodbc driver (3.03) , libodbc++-0.2.3

So, are there any error messages available?
>
>
> Thanks & Regards
> Balakrishna

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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Oliver Freyd 2014-10-17 10:07:47 [PATCH] SQLFreeStmt deletes params, but does not reset the stmt->prepared state.
Previous Message Jade Koskela 2014-10-16 17:28:12 Re: crash bug on closed connection