pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Byron Nikolaidis <byronn@insightdist.com>
To: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
Cc: applixware-list@applix.com, Postgres Interfaces Mailing List <pgsql-interfaces@postgresql.org>
Subject: Re: AWL: postgres odbc woes, continued .......
Date: Fri, 15 Jan 1999 10:44:55 -0500
Message-ID: <369F6277.D5A14AAD@insightdist.com> (raw)
References: <369D5D0E.AA522E2C@quoll.com>
	<369EA745.BA3B2E5C@alumni.caltech.edu>
	<369F4F54.B760B753@insightdist.com>
	<369F5D1C.986EAFFA@alumni.caltech.edu>



Thomas G. Lockhart wrote:

> > This is a physical socket connection problem.  The Socket Info (above)
> > shows errornumber=4, which is a failure in the connect()
> > system call.    At this point in communications, protocol has not have
> > come into play yet.
> > I would suggest checking to see if the postmaster is running with -i,
> > and can connect from the machine, and all that network jazz.
>
> I copied the older version's source code to the new tree and it worked
> fine. No other changes, and I left postmaster running in between these
> tests.
>

I was looking at the logfile again, and this might explain it.  Notice the
port has some junk in it.  That would make the connect() call fail
alright.CC_connect(): DSN = 'Test', server = 'localhost', port = '',
database = 'test', username= 'tgl', password='no$way'

I'm not sure why the port has that stuff.  It could be a bug, but check your
odbcinst.ini and odbc.ini files for anything weird.

Byron




view thread (5+ messages)  latest in thread

Message-ID: <369F6277.D5A14AAD@insightdist.com>
Permalink:  ../369F6277.D5A14AAD@insightdist.com/
Also on:    postgresql.org/message-id/369F6277.D5A14AAD@insightdist.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: byronn@insightdist.com, lockhart@alumni.caltech.edu
  Subject: Re: AWL: postgres odbc woes, continued .......
  In-Reply-To: <369F6277.D5A14AAD@insightdist.com>

* 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