pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL crash at SQLColAttribute()
4+ messages / 2 participants
[nested] [flat]

* PostgreSQL crash at SQLColAttribute()
@ 2014-10-15 15:41  Bala krishna Devasani <baalaa13@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Bala krishna Devasani @ 2014-10-15 15:41 UTC (permalink / raw)
  To: Jade Koskela <jkoskela0@gmail.com>; pgsql-odbc@postgresql.org, Heikki Linnakangas <hlinnakangas@vmware.com>

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


Thanks & Regards
Balakrishna

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* PostgreSQL crash at SQLColAttribute()
@ 2014-10-16 05:01  Bala krishna Devasani <baalaa13@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Bala krishna Devasani @ 2014-10-16 05:01 UTC (permalink / raw)
  To: Jade Koskela <jkoskela0@gmail.com>; pgsql-odbc@postgresql.org, Heikki Linnakangas <hlinnakangas@vmware.com>

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


Thanks & Regards
Balakrishna

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL crash at SQLColAttribute()
@ 2014-10-16 20:02  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Bala krishna Devasani <baalaa13@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Adrian Klaver @ 2014-10-16 20:02 UTC (permalink / raw)
  To: Bala krishna Devasani <baalaa13@gmail.com>; Jade Koskela <jkoskela0@gmail.com>; pgsql-odbc@postgresql.org, Heikki Linnakangas <hlinnakangas@vmware.com>

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.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PostgreSQL crash at SQLColAttribute()
@ 2014-10-17 15:04  Adrian Klaver <adrian.klaver@aklaver.com>
  parent: Adrian Klaver <adrian.klaver@aklaver.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Adrian Klaver @ 2014-10-17 15:04 UTC (permalink / raw)
  To: Bala krishna Devasani <baalaa13@gmail.com>; +Cc: 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.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2014-10-17 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15 15:41 PostgreSQL crash at SQLColAttribute() Bala krishna Devasani <baalaa13@gmail.com>
2014-10-16 05:01 PostgreSQL crash at SQLColAttribute() Bala krishna Devasani <baalaa13@gmail.com>
2014-10-16 20:02 ` Adrian Klaver <adrian.klaver@aklaver.com>
2014-10-17 15:04   ` Adrian Klaver <adrian.klaver@aklaver.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox