Skip site navigation (1) Skip section navigation (2)

Re: ODBC and configure

From: Ravi Katkar <Ravi(dot)Katkar(at)infor(dot)com>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: ODBC and configure
Date: 2010-07-27 10:23:05
Message-ID: 46AC8D44F3AE1F4888F137837D0DF63508853EE0A6@INHYWEXMB2.infor.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-odbc
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(at)postnewspapers(dot)com(dot)au] 
Sent: Tuesday, July 27, 2010 1:37 PM
To: Ravi Katkar
Cc: 'pgsql-odbc(at)postgresql(dot)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 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

In response to

Responses

pgsql-odbc by date

Next:From: Craig RingerDate: 2010-07-27 11:08:52
Subject: Re: ODBC and configure
Previous:From: Craig RingerDate: 2010-07-27 08:06:41
Subject: Re: ODBC and configure

pgsql-general by date

Next:From: Craig RingerDate: 2010-07-27 11:08:52
Subject: Re: ODBC and configure
Previous:From: Vincenzo RomanoDate: 2010-07-27 09:34:35
Subject: Re: Converting BYTEA from/to BIGINT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group