Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed, sed: -e expression #1, char 1: unterminated address regex, procmail + change subject, w2ksp4.exe download, /proc/kallsyms format

Links

XODOX
Impressum

#1: ODBC and configure

Posted on 2010-07-27 08:48:20 by Ravi Katkar

--_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2i nf_
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=3 D=====
==================== =====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_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2i nf_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" xmlns=3D"http://ww=
w.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:Verdana;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle19
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1781484758;
mso-list-type:hybrid;
mso-list-template-ids:-202708850 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>Hi List,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>I have installed ODBC and configure the same in RHEL 4=
..4.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><u><font size=3D2 face=3DVerdana><span style=3D'font-s=
ize:10.0pt;
font-family:Verdana'>Configured the ODBC in the following way:<o:p></o:p></=
span></font></u></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>[ODBC Data Sources]<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>testPSQL =3D PostgreSQL Test=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>[testPSQL]<o:p></o:p></span>=
</font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Driver=3D/usr /lib/psqlodbc.s=
o<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Description=3 DSample Postgre=
SQL DSN<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>DSN=3DtestPSQ L<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>SERVER=3Dxhos t+localhost<o:p=
></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Username=3Dpo stgres<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Database=3Drt db<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>ReadOnly=3DNo<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Servertype=3D postgres<o:p></=
o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Port=3D5432<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>FetchBufferSi ze=3D99<o:p></o=
:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>ServerOptions =3D<o:p></o:p><=
/span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>ConnectOption s=3D<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Options=3D<o:p></o:p></span>=
</font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>ReadOnlyi=3Dn o<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Trace=3D1<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>TraceFile=3D/ home/postgres/o=
dbc.trace<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Debug=3D1<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>DebugFile =3D
/home/postgres/odbc.debug<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>CommLog =3D 1<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>[Default]<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Driver =3D /usr/lib/psqlodbc=
..so<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Description =3D PostgreSQL D=
ata
Source<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>SERVER=3Dloca lhost<o:p></o:p=
></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Port=3D5432<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>UserName=3Dpo stgres<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>Password=3Dpo stgres<o:p></o:=
p></span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>;Socket=3D409 6<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>;end odbc.ini<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'><o:p>&nbsp;</o:p></span></fo=
nt></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>[ODBC]<o:p></o:p></span></fo=
nt></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 face=3DVerda=
na><span
style=3D'font-size:10.0pt;font-family:Verdana'>InstallDir =3D /usr/lib/libi=
odbc.so<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>#=============3 D=====
==================== =====3D=
==================== =====3D=
==========#<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>Steps that I followed to test the ODBC is :<o:p></o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<ol style=3D'margin-top:0in' start=3D1 type=3D1>
<li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D2 fac=
e=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana'>Downloaded the &#8220;o=
dbctest.c&#8221;
file from website and copied into unix machine</span></font> <font siz=
e=3D2
face=3DVerdana><span style=3D'font-size:10.0pt;font-family:Verdana'><o=
:p></o:p></span></font></li>
<li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D2 fac=
e=3DVerdana><span
style=3D'font-size:10.0pt;font-family:Verdana'>Compile and run the fil=
e</span></font>
<font size=3D2 face=3DVerdana><span style=3D'font-size:10.0pt;font-fam=
ily:Verdana'><o:p></o:p></span></font></li>
</ol>

<p class=3DMsoNormal><b><font size=3D2 face=3DVerdana><span style=3D'font-s=
ize:10.0pt;
font-family:Verdana;font-weight:bold'>Problem:<o:p></o:p></span></font></b>=
</p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp; While running <b><span
style=3D'font-weight:bold'>odbctest testPSQL</span></b> earlier it was work=
ing
fine, but now everytime its giving the below error:<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>&nbsp;&nbsp;&nbsp;&nbsp; <b><span style=3D'font-weight=
:bold'>odbctest:
cannot connect to X server<o:p></o:p></span></b></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>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.
&nbsp;&nbsp;&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DVerdana><span style=3D'font-size=
:10.0pt;
font-family:Verdana'>&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><st1:place w:st=3D"on"><font size=3D2 color=3Dnavy fac=
e=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Ravi</span></font>=
</st1:place><font
size=3D2 color=3Dnavy face=3DArial><span style=3D'font-size:10.0pt;font-fam=
ily:Arial;
color:navy'> Katkar <o:p></o:p></span></font></p>

</div>

</body>

</html>

--_000_46AC8D44F3AE1F4888F137837D0DF63508853EE010INHYWEXMB2i nf_--

Report this message

#2: Re: ODBC and configure

Posted on 2010-07-27 10:06:41 by Craig Ringer

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

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

Report this message

#3: Re: ODBC and configure

Posted on 2010-07-27 12:23:05 by Ravi Katkar

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

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

Report this message

#4: Re: ODBC and configure

Posted on 2010-07-27 13:08:52 by Craig Ringer

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

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

Report this message

#5: Re: ODBC and configure

Posted on 2010-07-27 16:31:25 by Tom Lane

Craig Ringer <craig@postnewspapers.com.au> 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

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

Report this message

#6: Re: ODBC and configure

Posted on 2010-07-28 06:53:02 by Ravi Katkar

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 <craig@postnewspapers.com.au> 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

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

Report this message