pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedlost synchronization with server: got message type "Z"
5+ messages / 3 participants
[nested] [flat]
* lost synchronization with server: got message type "Z"
@ 2016-09-27 05:27 Marek Petr <maper@seznam.cz>
0 siblings, 1 reply; 5+ messages in thread
From: Marek Petr @ 2016-09-27 05:27 UTC (permalink / raw)
To: pgsql-general
Hello,
=
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: lost synchronization with server: got message type "Z"
@ 2016-09-27 12:55 Tom Lane <tgl@sss.pgh.pa.us>
parent: Marek Petr <maper@seznam.cz>
0 siblings, 1 reply; 5+ messages in thread
From: Tom Lane @ 2016-09-27 12:55 UTC (permalink / raw)
To: Marek Petr <maper@seznam.cz>; +Cc: pgsql-general
"Marek Petr" <maper@seznam.cz> writes:
> From time to time we receive following event from application (Adobe
> Campaign - former Neolane):
> PostgreSQL error: lost synchronization with server: got message type "Z",
> length 0\n (iRc=-2006)
Hm.
> Could something else than network cause this event?
We've fixed bugs with related symptoms in the past.
> postgres=# select version();
> PostgreSQL 9.2.13 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7
> 20120313 (Red Hat 4.4.7-11), 64-bit
What libpq version is being used on the client side? The most recent
related bugfix I can find in the 9.2 commit history was in libpq, and
it came out in 9.2.8.
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: lost synchronization with server: got message type "Z"
@ 2016-09-29 19:25 Marek Petr <maper@seznam.cz>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 5+ messages in thread
From: Marek Petr @ 2016-09-29 19:25 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general
Thank you for the response.
Remote psql client (application server) version is 9.2.16 and pg_lib_version
function of DBD::Pg module returned version 80412.
Remove connection via psql client:
$ psql
psql (9.2.16, server 9.2.13)
Type "help" for help.
postgres=#
PQlibVersion function of libpq returned version 90213 at database server
where 9.2.13 is running version of PostgreSQL.
Could it be caused by older still installed release at database server (see
below)?
# yum list installed postgres\*
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Installed Packages
postgresql.x86_64 8.4.20-6.el6
@rhel-x86_64-server-6
postgresql-libs.x86_64 8.4.20-6.el6
@rhel-x86_64-server-6
postgresql-server.x86_64 8.4.20-6.el6
@rhel-x86_64-server-6
postgresql92.x86_64 9.2.13-1
PGDG.rhel6 @/postgresql92-9.2.13-1
PGDG.rhel6.x86_64
postgresql92-libs.x86_64 9.2.13-1
PGDG.rhel6 @/postgresql92-libs-9.2.13-
1PGDG.rhel6.x86_64
postgresql92-server.x86_64 9.2.13-1
PGDG.rhel6 @/postgresql92-server-9.2.
13-1PGDG.rhel6.x86_64
Regards
Marek
---------- Původní zpráva ----------
Od: Tom Lane <tgl@sss.pgh.pa.us>
Komu: Marek Petr <maper@seznam.cz>
Datum: 27. 9. 2016 14:55:44
Předmět: Re: [GENERAL] lost synchronization with server: got message type
"Z"
""Marek Petr" <maper@seznam.cz> writes:
> From time to time we receive following event from application (Adobe
> Campaign - former Neolane):
> PostgreSQL error: lost synchronization with server: got message type "Z",
> length 0\n (iRc=-2006)
Hm.
> Could something else than network cause this event?
We've fixed bugs with related symptoms in the past.
> postgres=# select version();
> PostgreSQL 9.2.13 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7
> 20120313 (Red Hat 4.4.7-11), 64-bit
What libpq version is being used on the client side? The most recent
related bugfix I can find in the 9.2 commit history was in libpq, and
it came out in 9.2.8.
regards, tom lane"=
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: lost synchronization with server: got message type "Z"
@ 2016-09-29 20:00 Tom Lane <tgl@sss.pgh.pa.us>
parent: Marek Petr <maper@seznam.cz>
0 siblings, 0 replies; 5+ messages in thread
From: Tom Lane @ 2016-09-29 20:00 UTC (permalink / raw)
To: Marek Petr <maper@seznam.cz>; +Cc: pgsql-general
"Marek Petr" <maper@seznam.cz> writes:
> Remote psql client (application server) version is 9.2.16 and pg_lib_version
> function of DBD::Pg module returned version 80412.
Ouch. 8.4.x has been out of support for almost two years now, and 8.4.12
is a good four years old. You should try to get an up-to-date version of
libpq and see if that doesn't make things better.
Note that I never heard of "Adobe Campaign" before, and have no idea what
it would take to link it against a newer libpq. You might have to get
Adobe involved, unless it goes through DBD::Pg.
regards, tom lane
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
^ permalink raw reply [nested|flat] 5+ messages in thread
* Lost synchronization with server: got message type"0" , length 879046704
@ 2019-01-10 12:19 Arun Menon <aruntmenons@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Arun Menon @ 2019-01-10 12:19 UTC (permalink / raw)
To: pgsql-general
Hi,
Some times, I am getting below error when we perform DB update in parallel
with select operation.
*Lost synchronization with server: got message type"0" , length 879046704*
Is it a bug?. Please help to resolve.
Postgre server version: 10
Libpq version is 9.2.3
Regards,
Arun Menon
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2019-01-10 12:19 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 05:27 lost synchronization with server: got message type "Z" Marek Petr <maper@seznam.cz>
2016-09-27 12:55 ` Tom Lane <tgl@sss.pgh.pa.us>
2016-09-29 19:25 ` Marek Petr <maper@seznam.cz>
2016-09-29 20:00 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-01-10 12:19 Lost synchronization with server: got message type"0" , length 879046704 Arun Menon <aruntmenons@gmail.com>
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