Re: [INTERFACES] libpgtcl.so.2.0 - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] libpgtcl.so.2.0
Date
Msg-id 12607.933376145@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] libpgtcl.so.2.0  ("Collin F. Lynch" <clynch@water2.cs.umass.edu>)
List pgsql-interfaces
"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


pgsql-interfaces by date:

Previous
From: "Collin F. Lynch"
Date:
Subject: Re: [INTERFACES] libpgtcl.so.2.0
Next
From: Spirou
Date:
Subject: Web Hosting with Python, PostgreSQL ?