From Ravi.Katkar@infor.com Tue Jul 27 06:48:35 2010 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 356F5632477 for ; Tue, 27 Jul 2010 03:48:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 21246-04; Tue, 27 Jul 2010 06:48:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nlsmtpp1.infor.com (nlsmtpp1.infor.com [194.149.81.53]) by mail.postgresql.org (Postfix) with ESMTP id 78F2D63239C; Tue, 27 Jul 2010 03:48:26 -0300 (ADT) X-SBRS: None Received: from unknown (HELO INHYWEXCAHT1.infor.com) ([10.91.32.58]) by mail.infor.com with ESMTP; 27 Jul 2010 08:49:25 +0200 Received: from INHYWEXMB2.infor.com ([fe80::f1b5:544:af95:5287]) by INHYWEXCAHT1.infor.com ([::1]) with mapi; Tue, 27 Jul 2010 12:18:22 +0530 From: Ravi Katkar To: "'pgsql-general@postgresql.org'" , "'pgsql-odbc@postgresql.org'" <'pgsql-odbc@postgresql.org'> Date: Tue, 27 Jul 2010 12:18:20 +0530 Subject: ODBC and configure Thread-Topic: ODBC and configure Thread-Index: AcsjGCPhLOA92Pc0Rm+TeHuKzqDdTQA5fqqgAAON83ACUs8h0A== Message-ID: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2inf_" MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/862 X-Sequence-Number: 165747 --_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2inf_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi List, I have installed ODBC and configure the same in RHEL 4.4. Configured the ODBC in the following way: [ODBC Data Sources] testPSQL =3D PostgreSQL Test [testPSQL] Driver=3D/usr/lib/psqlodbc.so Description=3DSample PostgreSQL DSN DSN=3DtestPSQL SERVER=3Dxhost+localhost Username=3Dpostgres Database=3Drtdb ReadOnly=3DNo Servertype=3Dpostgres Port=3D5432 FetchBufferSize=3D99 ServerOptions=3D ConnectOptions=3D Options=3D ReadOnlyi=3Dno Trace=3D1 TraceFile=3D/home/postgres/odbc.trace Debug=3D1 DebugFile =3D /home/postgres/odbc.debug CommLog =3D 1 [Default] Driver =3D /usr/lib/psqlodbc.so Description =3D PostgreSQL Data Source SERVER=3Dlocalhost Port=3D5432 UserName=3Dpostgres Password=3Dpostgres ;Socket=3D4096 ;end odbc.ini [ODBC] InstallDir =3D /usr/lib/libiodbc.so #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D# Steps that I followed to test the ODBC is : 1. Downloaded the "odbctest.c" file from website and copied into unix mac= hine 2. Compile and run the file Problem: While running odbctest testPSQL earlier it was working fine, but now e= verytime its giving the below error: odbctest: cannot connect to X server Please suggest if there is any solution for this. I tried with SERVER=3Dloc= alhost and xhost+localhost, again Severname=3Dlocalhost and xhost+localhost= nothing is working after re-compiling and running the .c file. Thanks, Ravi Katkar --_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2inf_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi List,

 

I have installed ODBC and configure the same in RHEL 4= .4.

 

Configured the ODBC in the following way:

 

[ODBC Data Sources]

testPSQL =3D PostgreSQL Test=

 

[testPSQL]=

Driver=3D/usr/lib/psqlodbc.s= o

Description=3DSample Postgre= SQL DSN

DSN=3DtestPSQL

SERVER=3Dxhost+localhost

Username=3Dpostgres

Database=3Drtdb

ReadOnly=3DNo

Servertype=3Dpostgres

Port=3D5432

FetchBufferSize=3D99

ServerOptions=3D<= /span>

ConnectOptions=3D=

Options=3D=

ReadOnlyi=3Dno

Trace=3D1<= /font>

TraceFile=3D/home/postgres/o= dbc.trace

Debug=3D1<= /font>

DebugFile =3D /home/postgres/odbc.debug

CommLog =3D 1

 

[Default]<= /font>

Driver =3D /usr/lib/psqlodbc= .so

Description =3D PostgreSQL D= ata Source

SERVER=3Dlocalhost

Port=3D5432

UserName=3Dpostgres

Password=3Dpostgres

;Socket=3D4096

;end odbc.ini

 

[ODBC]

InstallDir =3D /usr/lib/libi= odbc.so

 

 

#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D#

 

Steps that I followed to test the ODBC is :=

 

  1. Downloaded the “o= dbctest.c” file from website and copied into unix machine
  2. Compile and run the fil= e

Problem:=

     While running odbctest testPSQL earlier it was work= ing fine, but now everytime its giving the below error:

     odbctest: cannot connect to X server

 

Please suggest if there is any solution for this. I tr= ied with SERVER=3Dlocalhost and xhost+localhost, again Severname=3Dlocalhost an= d xhost+localhost nothing is working after re-compiling and running the .c fi= le.    

 

Thanks,

Ravi= Katkar

--_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2inf_-- From craig@postnewspapers.com.au Tue Jul 27 08:06:57 2010 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id BF889633283 for ; Tue, 27 Jul 2010 05:06:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 99605-04 for ; Tue, 27 Jul 2010 08:06:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.4.227.11]) by mail.postgresql.org (Postfix) with ESMTP id 9752F633145 for ; Tue, 27 Jul 2010 05:06:50 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id 40D7B9F7F; Tue, 27 Jul 2010 16:06:45 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 8E4C9AE6F6; Tue, 27 Jul 2010 16:06:36 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IaQpP2W0iqt6; Tue, 27 Jul 2010 16:06:31 +0800 (WST) Received: from [10.1.1.6] (124-168-255-56.dyn.iinet.net.au [124.168.255.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id 3702FAE6FD; Tue, 27 Jul 2010 16:06:31 +0800 (WST) Message-ID: <4C4E9391.3040406@postnewspapers.com.au> Date: Tue, 27 Jul 2010 16:06:41 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ravi Katkar CC: "'pgsql-odbc@postgresql.org'" Subject: Re: ODBC and configure References: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com> In-Reply-To: <46AC8D44F3AE1F4888F137837D0DF63508853EE010@INHYWEXMB2.infor.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/28 X-Sequence-Number: 10371 On 27/07/10 14:48, Ravi Katkar wrote: > 1. Downloaded the "odbctest.c" file from website and copied into unix machine > 2. Compile and run the file > Problem: > While running odbctest testPSQL earlier it was working fine, but now everytime its giving the below error: > odbctest: cannot connect to X server This isn't a PostgreSQL problem. Your 'odbctest.c' (where *did* you get that, anyway? What URL?) appears to be using a GUI toolkit that requires an X11 graphical environment. That's what "cannot connect to X server" refers to ; it's nothing to do with the PostgreSQL server. If you have an X11 server running on your local machine, connect to the machine odbctest is on using "ssh -X" to enable ssh X11 forwarding. Then odbctest should run over the SSH X11 tunnel. Otherwise, compile odbctest without any GUI requirements. Without some idea of where you got "odbctest.c" and what it is, I can't really help you with that. -- Craig Ringer From Ravi.Katkar@infor.com Tue Jul 27 10:23:17 2010 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 08BE26329E1 for ; Tue, 27 Jul 2010 07:23:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 93569-02 for ; Tue, 27 Jul 2010 10:23:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nlsmtpp1.infor.com (nlsmtpp1.infor.com [194.149.81.53]) by mail.postgresql.org (Postfix) with ESMTP id 5C4B6632836 for ; Tue, 27 Jul 2010 07:23:09 -0300 (ADT) X-SBRS: None Received: from unknown (HELO INHYWEXCAHT1.infor.com) ([10.91.32.58]) by mail.infor.com with ESMTP; 27 Jul 2010 12:24:09 +0200 Received: from INHYWEXMB2.infor.com ([fe80::f1b5:544:af95:5287]) by INHYWEXCAHT1.infor.com ([::1]) with mapi; Tue, 27 Jul 2010 15:53:05 +0530 From: Ravi Katkar To: Craig Ringer CC: "'pgsql-odbc@postgresql.org'" Date: Tue, 27 Jul 2010 15:53:05 +0530 Subject: Re: ODBC and configure Thread-Topic: [ODBC] ODBC and configure Thread-Index: AcstYqspozlE4rXeRWK9jbQONQMwKwAEskZg Message-ID: <46AC8D44F3AE1F4888F137837D0DF63508853EE0A6@INHYWEXMB2.infor.com> In-Reply-To: <4C4E9391.3040406@postnewspapers.com.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/29 X-Sequence-Number: 10372 Odbctest.c downloaded from the below website http://wwwmath.uni-muenster.de= /u/beckelu/DB0506/ODBC/ Please refer if I can get the same .c file from other location. Its not using GUI toolkit . -----Original Message----- From: Craig Ringer [mailto:craig@postnewspapers.com.au]=20 Sent: Tuesday, July 27, 2010 1:37 PM To: Ravi Katkar Cc: 'pgsql-odbc@postgresql.org' Subject: Re: [ODBC] ODBC and configure On 27/07/10 14:48, Ravi Katkar wrote: > 1. Downloaded the "odbctest.c" file from website and copied into unix m= achine > 2. Compile and run the file > Problem: > While running odbctest testPSQL earlier it was working fine, but now= everytime its giving the below error: > odbctest: cannot connect to X server This isn't a PostgreSQL problem. Your 'odbctest.c' (where *did* you get that, anyway? What URL?) appears to be using a GUI toolkit that requires an X11 graphical environment. That's what "cannot connect to X server" refers to ; it's nothing to do with the PostgreSQL server. If you have an X11 server running on your local machine, connect to the machine odbctest is on using "ssh -X" to enable ssh X11 forwarding. Then odbctest should run over the SSH X11 tunnel. Otherwise, compile odbctest without any GUI requirements. Without some idea of where you got "odbctest.c" and what it is, I can't really help you with that. -- Craig Ringer From craig@postnewspapers.com.au Tue Jul 27 11:09:10 2010 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 77A75632D49 for ; Tue, 27 Jul 2010 08:09:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 81538-06 for ; Tue, 27 Jul 2010 11:09:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.4.227.11]) by mail.postgresql.org (Postfix) with ESMTP id B9523632C47 for ; Tue, 27 Jul 2010 08:09:02 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id A65619F7E; Tue, 27 Jul 2010 19:08:58 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 58F23AFA95; Tue, 27 Jul 2010 19:08:48 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ihoWP070Kr4k; Tue, 27 Jul 2010 19:08:42 +0800 (WST) Received: from [10.1.1.6] (124-168-255-56.dyn.iinet.net.au [124.168.255.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id A8C2FAFA94; Tue, 27 Jul 2010 19:08:42 +0800 (WST) Message-ID: <4C4EBE44.4000509@postnewspapers.com.au> Date: Tue, 27 Jul 2010 19:08:52 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ravi Katkar CC: "'pgsql-odbc@postgresql.org'" Subject: Re: ODBC and configure References: <46AC8D44F3AE1F4888F137837D0DF63508853EE0A6@INHYWEXMB2.infor.com> In-Reply-To: <46AC8D44F3AE1F4888F137837D0DF63508853EE0A6@INHYWEXMB2.infor.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/30 X-Sequence-Number: 10373 On 27/07/10 18:23, Ravi Katkar wrote: > Odbctest.c downloaded from the below website http://wwwmath.uni-muenster.de/u/beckelu/DB0506/ODBC/ > Its not using GUI toolkit . Nope, it certainly isn't. But something seems to be trying to talk to your X server, unless that message is somehow weirdly misleading. Here, installing unixodbc from debian packages and compiling odbctest as: gcc -o odbctest odbctest.c -lodbc it runs fine with DISPLAY unset (ie with no access to an X server). My next step in your position would be to strace the binary to see what it's doing, use ldd to examine what it's linking to, or use LD_DEBUG to trace what libraries it accesses. Though, of course, I'd also know how I'd compiled it, which you didn't mention. In any case, though, there's no sign this issue has anything to do with PostgreSQL. I hope this sets you vaguely on the right track, but I'm not really into ODBC at the best of times, so I think I might be about done with my usefulness here. -- Craig Ringer From tgl@sss.pgh.pa.us Tue Jul 27 14:31:36 2010 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 0B563633838 for ; Tue, 27 Jul 2010 11:31:36 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 08897-04 for ; Tue, 27 Jul 2010 14:31:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id BEDA263382F for ; Tue, 27 Jul 2010 11:31:28 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6REVPsD009048; Tue, 27 Jul 2010 10:31:25 -0400 (EDT) To: Craig Ringer cc: Ravi Katkar , "'pgsql-odbc@postgresql.org'" Subject: Re: ODBC and configure In-reply-to: <4C4EBE44.4000509@postnewspapers.com.au> References: <46AC8D44F3AE1F4888F137837D0DF63508853EE0A6@INHYWEXMB2.infor.com> <4C4EBE44.4000509@postnewspapers.com.au> Comments: In-reply-to Craig Ringer message dated "Tue, 27 Jul 2010 19:08:52 +0800" Date: Tue, 27 Jul 2010 10:31:25 -0400 Message-ID: <9047.1280241085@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/33 X-Sequence-Number: 10376 Craig Ringer writes: > On 27/07/10 18:23, Ravi Katkar wrote: >> Odbctest.c downloaded from the below website http://wwwmath.uni-muenster.de/u/beckelu/DB0506/ODBC/ >> Its not using GUI toolkit . > Nope, it certainly isn't. But something seems to be trying to talk to > your X server, unless that message is somehow weirdly misleading. There's a program called odbctest in (some releases of) the unixODBC package. I suspect Ravi is executing that, not his own program. regards, tom lane From Ravi.Katkar@infor.com Wed Jul 28 04:53:14 2010 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 9EAAC632C51 for ; Wed, 28 Jul 2010 01:53:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 55452-08 for ; Wed, 28 Jul 2010 04:53:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nlsmtpp1.infor.com (nlsmtpp1.infor.com [194.149.81.53]) by mail.postgresql.org (Postfix) with ESMTP id DB7CE632B4E for ; Wed, 28 Jul 2010 01:53:06 -0300 (ADT) X-SBRS: None Received: from unknown (HELO INHYWEXCAHT1.infor.com) ([10.91.32.58]) by mail.infor.com with ESMTP; 28 Jul 2010 06:54:06 +0200 Received: from INHYWEXMB2.infor.com ([fe80::f1b5:544:af95:5287]) by INHYWEXCAHT1.infor.com ([::1]) with mapi; Wed, 28 Jul 2010 10:23:03 +0530 From: Ravi Katkar To: Tom Lane , Craig Ringer CC: "'pgsql-odbc@postgresql.org'" Date: Wed, 28 Jul 2010 10:23:02 +0530 Subject: Re: ODBC and configure Thread-Topic: [ODBC] ODBC and configure Thread-Index: AcstmHI8krQbzdNCQLuDxFaDBmxaHAAeCh2g Message-ID: <46AC8D44F3AE1F4888F137837D0DF63508857F700C@INHYWEXMB2.infor.com> In-Reply-To: <9047.1280241085@sss.pgh.pa.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/34 X-Sequence-Number: 10377 Hi Tom,=20 You are right I am executing odbcTest program in unix odbc package. Regards, Ravi Katkar=20 -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Tuesday, July 27, 2010 8:01 PM To: Craig Ringer Cc: Ravi Katkar; 'pgsql-odbc@postgresql.org' Subject: Re: [ODBC] ODBC and configure=20 Craig Ringer writes: > On 27/07/10 18:23, Ravi Katkar wrote: >> Odbctest.c downloaded from the below website http://wwwmath.uni-muenster= .de/u/beckelu/DB0506/ODBC/ >> Its not using GUI toolkit . > Nope, it certainly isn't. But something seems to be trying to talk to > your X server, unless that message is somehow weirdly misleading. There's a program called odbctest in (some releases of) the unixODBC package. I suspect Ravi is executing that, not his own program. regards, tom lane