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

Re: [INTERFACES] firewall crashes backend

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] firewall crashes backend
Date: 1999-09-14 21:48:09
Message-ID: 3.0.1.32.19990914144809.00a7d100@ori-ind.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
At 19:05 09/08/1999 -0400, Tom Lane wrote:
>"Ken J. Wright" <ken(at)ori-ind(dot)com> writes:
>> When connecting to postgresql 6.5.1 through a socks5 firewall via ODBC, the
>> following error occurs:
>> ERROR: postmaster: StreamConnection: accept: No route to host
>> Then the backend crashes.
>
>Ken, here is a patch.  I can't test it very well since I don't have any
>easy way of provoking a failure at this stage of the connection.  Would
>you check it?
>
>Line numbers are for 6.5, but it should apply against current with a
>few lines' offset, if you are using current.
>
>			regards, tom lane
>
>
>*** src/backend/libpq/pqcomm.c.orig	Wed Jul  7 13:17:47 1999
>--- src/backend/libpq/pqcomm.c	Wed Sep  8 19:00:51 1999

Tom,

Yes! This did the trick. The postmaster stays up & spits out the proper
error. Thanks!!!

Ken

In response to

pgsql-interfaces by date

Next:From: Byron NikolaidisDate: 1999-09-15 03:36:13
Subject: Re: [INTERFACES] Check boxes with Access
Previous:From: Tom LaneDate: 1999-09-14 20:34:55
Subject: Re: [INTERFACES] ecpg and getting just assigned serial number

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