Обсуждение: Re: [INTERFACES] libpgtcl.so.2.0

Поиск
Список
Период
Сортировка

Re: [INTERFACES] libpgtcl.so.2.0

От
"Collin F. Lynch"
Дата:
>
> > Version 6.3 had the
> > command -lcrypt included in the build, the new version does not.
> 
> Already fixed for v6.5.1 (I think) and the current CVS tree.
Good.

> 
> > I have since switched to using pgtclsh with success.
Unfortunately the success was not long lived.  I am now attempting to execute my 
script in pgtclsh and am being told:Connection to database failedUnsupported 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.Thanksfor any help in advance.Collin Lynch.
 



Re: [INTERFACES] libpgtcl.so.2.0

От
Tom Lane
Дата:
"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