From: Tom Lane <tgl@sss.pgh.pa.us>
To: Szabolcs BALLA <szballa@confinsystems.com>
Cc: Postgresql Admin <pgsql-admin@postgresql.org>
Subject: Re: Invalid frontend message type 87?
Date: Thu, 10 May 2007 11:12:51 -0400
Message-ID: <13626.1178809971@sss.pgh.pa.us> (raw)
In-Reply-To: <4642D9AD.8060904@confinsystems.com>
References: <4642D9AD.8060904@confinsystems.com>
Szabolcs BALLA <szballa@confinsystems.com> writes:
> I have a problem with postgresql 8.1.4. and libpq 4.
> I found this error message in the log file: PGRES_FATAL_ERROR invalid frontend message type 87
"Invalid frontend message" means the server got a message with an
unexpected first byte, which usually means the server and libpq got
out of sync about where the message boundaries are. It's been quite
a long time since we've seen an actual bug of that sort, though.
The cases that I've heard of recently involve multiple threads in an
application trying to use the same PGconn without any interlocking.
You can't have multiple queries active on a single connection, but
libpq itself doesn't contain any locking to prevent multiple threads
from trying to use the PGconn at once.
If you're getting this with a single-threaded client, please submit
a test case to pgsql-bugs.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, szballa@confinsystems.com
Subject: Re: Invalid frontend message type 87?
In-Reply-To: <13626.1178809971@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox