pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: vivek@staff.ownmail.com
Cc: pgsql-odbc@postgresql.org
Subject: Re: newbie - segmentation fault with unix odbc
Date: Mon, 17 Jul 2006 10:58:20 +0200
Message-ID: <20060717085820.GF4710@soptik.pzkagis.cz> (raw)
In-Reply-To: <200607140353.k6E3r9un021375@mail009.ownmail.com>
References: <200607140353.k6E3r9un021375@mail009.ownmail.com>

> Hello friends,
>   I am a newbie to databases. I am trying to start a postgres connection
> using unix odbc on a Slackware 10 and a AMD opteron machine, and a 64 bit
> gcc compiler and 64 bit kernel. I am using
>  
> psqlodbc-08.02.0002
> and
> unixODBC-2.2.11
> 
> Whenever I try to connect to the database server, I get a segmentation fault. I give the command:-
> isql mydb -v
> Segmentation fault
> 
> I tried to figure out whats wrong but no use.

Hello

The first good step could be the trace file from unixODBC.
You may see the Trece* options in /etc/odbc.ini
The second step could be enabling mylog output of psqlodbc.
Add Debug = 1 line to /etc/odbc.ini for the right datasource.

BTW are you sure that you have compiled unixODBC and psqlodbc the right
way (both 64-bit)? Maybe you could try compile it both 32-bit and test
if the problem isn't there.

Regards,

Luf



view thread (3+ messages)  latest in thread

Message-ID: <20060717085820.GF4710@soptik.pzkagis.cz>
Permalink:  ../20060717085820.GF4710@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060717085820.GF4710@soptik.pzkagis.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luf@pzkagis.cz, vivek@staff.ownmail.com
  Subject: Re: newbie - segmentation fault with unix odbc
  In-Reply-To: <20060717085820.GF4710@soptik.pzkagis.cz>
  References: <200607140353.k6E3r9un021375@mail009.ownmail.com> <20060717085820.GF4710@soptik.pzkagis.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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