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

ODBC to access POSTGRESQL on LINUX - take 2

From: "Justin Long" <justinlong(at)mail(dot)strategicnetwork(dot)org>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: ODBC to access POSTGRESQL on LINUX - take 2
Date: 1999-05-24 19:19:26
Message-ID: 000001bea61a$56b02ee0$ (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I was directed to the psqlODBC driver and have downloaded that and installed
it. Now I am attempting to access my Postgresql database on Linux using the
latest version (6.5) of PGSQL.

Here's the error log:

conn=30083196, SQLDriverConnect( in)='DRIVER={PostgreSQL};',
Global Options: Version='06.40.0006', fetch=100, socket=4096,
unknown_sizes=0, max_varchar_size=254, max_longvarchar_size=8190
                disable_optimizer=1, ksqo=1, unique_index=0,
                text_as_longvarchar=1, unknowns_as_longvarchar=0,
                extra_systable_prefixes='dd_;', conn_settings=''
CONN ERROR: func=SQLDriverConnect, desc='Error from CC_Connect', errnum=101,
errmsg='Could not connect to the server'
            henv=31129732, conn=30083196, status=0, num_stmts=16
            sock=31129748, stmts=31129788, lobj_type=-999
            ---------------- Socket Info -------------------------------
            socket=-1, reverse=0, errornumber=4, errormsg='Could not connect
to remote socket.'
            buffer_in=30089524, buffer_out=30093624
            buffer_filled_in=0, buffer_filled_out=0, buffer_read_in=0

I am using Visual Interdev 6 at the moment to attain a connection. Any
suggestions from the peanut gallery as to why it can't connect? (There isn't
a driver on the Linux side that one has to install, is there?)

Any suggestions, rotten fruit, eggs, whatever, welcome...

Justin Long

Never retreat. Never surrender. Never cut a deal with a dragon.
Justin Long                   CIO / Site Editor
616 Station Square Ct         Network for Strategic Missions
Chesapeake, VA 23320          977 Centerville Trnpk CSB 317
JustinLong(at)xc(dot)org             Va Beach, VA 23463
Check out our site at:

pgsql-interfaces by date

Next:From: Michael R. AndersonDate: 1999-05-24 20:11:44
Subject: dynamic IPs
Previous:From: Dustin SallingsDate: 1999-05-24 17:34:51
Subject: Re: [GENERAL] Problems with INSERT INTO?

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