[Pkg-postgresql-public] Unsupported protocol
Oliver Elphick
olly@lfix.co.uk
Thu, 18 Mar 2004 13:55:07 +0000
On Thu, 2004-03-18 at 12:59, Andreas Tille wrote:
> Subject: postgresql: Unsupported protocol
> Package: postgresql
> Version: 7.3.4-9
> Severity: normal
>=20
> Hi,
>=20
> before I send a real bug report I would like to ensure that I did not
> make a stupid mistake. After having fiddling around a little bit with
> the SQLrelay package I've got a new log file entry after *every* call
> of psql (reproducible). Thus if I call psql (whatever database) I get:
>=20
> Mar 18 13:52:46 wr-linux02 postgres[5189]: [1] LOG: Verbindung empfangen=
: Host=3D[local]
> Mar 18 13:52:46 wr-linux02 postgres[5189]: [2] FATAL: nicht unterst=FCtz=
tes Protokoll
> Mar 18 13:52:46 wr-linux02 postgres[5190]: [1] LOG: Verbindung empfangen=
: Host=3D[local]
> Mar 18 13:52:46 wr-linux02 postgres[5190]: [2] LOG: Verbindung authorisi=
ert: Benutzer=3Dtillea Datenbank=3Dtemplate1
>=20
> (Sorry for the German locale - I'd love to know how to switch this to Eng=
lish
> without compromising anything else. Here the translation of the FATAL p=
art:
>=20
> unsupported protocol
>=20
> Any idea what might went wrong here. I have no idea what happened. I ev=
en
> think that it is a random correlation to SQLrelay because even if I stop =
all
> sqlrelay processes this problem remains.
It appears to be trying to connect with something other than AF_INET as
the protocol. However, the relevant code seems to be in a non-compiled
path (it's in src/interfaces/libpq/fe-secure.c at line 439), so the
problem may actually arise in ssl libraries. I don't have time to look
into it any deeper than that just now.
Oliver Elphick