Thread: Re: [INTERFACES] libpgtcl.so.2.0 Tom Wins a Nickel.

Re: [INTERFACES] libpgtcl.so.2.0 Tom Wins a Nickel.

From
"Collin F. Lynch"
Date:
> From tgl@sss.pgh.pa.us  Fri Jul 30 19:08:30 1999
> To: "Collin F. Lynch" <clynch@water2.cs.umass.edu>
> cc: lockhart@alumni.caltech.edu, pgsql-interfaces@postgreSQL.org
> Subject: Re: [INTERFACES] libpgtcl.so.2.0
> In-reply-to: Your message of Fri, 30 Jul 1999 15:35:52 -0400 (EDT)
<199907301935.PAA20190@water2.cs.umass.edu>
> Date: Fri, 30 Jul 1999 19:09:05 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> Content-Length: 633
> 
> "Collin F. Lynch" <clynch@water2.cs.umass.edu> writes:
> >     I am now attempting to execute my 
> > script in pgtclsh and am being told:
>     
> >     Connection to database failed
> >     Unsupported frontend protocol.
> >         while executing
> >     "pg_connect $Database -host $Host"
>     
> >     The Server in QUestion is 6.5-1 running on a pure Redhat 6.0 (intel) box.
> 
> I'll bet a nickel that your client is actually connecting to your 6.3
> server, not the 6.5 one.  Check host names, port numbers, TCP vs
> Unix-socket protocol.  One conclusive check is to see which postmaster's
> error log gets a copy of the "unsupported protocol" gripe...
> 
>             regards, tom lane
You had it right an errant line was resetting the hostname on the database after I had 
set it properly.Collin Lynch.