pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jonesbl@WellsFargo.COM
To: pgsql-sql@postgresql.org
Subject: query problem "server sent binary data ... without prior row desc ription ..."
Date: Thu, 26 Sep 2002 11:07:02 -0700
Message-ID: <5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com> (raw)

		I'm having a problem with postgres on HPUX. My version is:

		VERSION = 'PostgreSQL 7.2.2 on hppa2.0w-hp-hpux11.11,
compiled by aCC -Ae'

		I'm trying to do a query and it consistently gives the
following errors:

		wily=# \a
		Output format is unaligned.
		wily=# \f ';'
		Field separator is ';'.
		wily=# \t
		Showing only tuples.

		wily=# select * from wt_metric_backup where intended_end_ts
< '2002-08-16 00:00:00.000-7';

		the query runs for 10 minutes or so, then outputs:

		server sent binary data ("B" message) without prior row
description ("T" message)
		server sent binary data ("B" message) without prior row
description ("T" message)
		server sent binary data ("B" message) without prior row
description ("T" message)
		unexpected character n following empty query response ("I"
message)
		server sent data ("D" message) without prior row description
("T" message)
		server sent data ("D" message) without prior row description
("T" message)
		server sent binary data ("B" message) without prior row
description ("T" message)

		then it prompts me for some input:

		Enter data to be copied followed by a newline.
		End with a backslash and a period on a line by itself.
		>> \.
		server sent binary data ("B" message) without prior row
description ("T" message)
		unexpected response from server; first received character
was "0"
		lost synchronization with server, resetting connection
		Asynchronous NOTIFY 'ntsTask|perform:Response Time (mccoust
r@ <mailto:r@> ' from backend with pid 1667460981 received.

		I've tried this several times. After I got the error the
first time I ran a vacuum analysis on the table and added an index on the
query field (wt_metric_backup.intended_end_ts) but I get the same results.
The error log doesn't show anything unusual until after I kill the query.

		Looks like it's losing packets/messages (server sent binary
data ("B" message) without prior row description ("T" message)), but the
errors are consistent between attempts - I would expect packet loss to be
random. Simpler queries such as:

		select min(intended_end_ts) from wt_metric_backup;

		work okay.

		Any ideas?



Thanks,

Bill Jones
Systems Architect
Middleware Services
Wells Fargo Services Company
Office --415.222.5226
PCS -- 415.254.3831 (4152543831@mobile.att.net)

Views expressed are mine. Only in unusual circumstances are they shared by
my employer.




view thread (4+ messages)  latest in thread

Message-ID: <5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com>
Permalink:  ../5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com/
Also on:    postgresql.org/message-id/5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jonesbl@WellsFargo.COM
  Subject: Re: query problem "server sent binary data ... without prior row desc ription ..."
  In-Reply-To: <5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com>
  References: <5BA4EAE4ACF6D211BC540001FA7EB1960AE53AF3@xcem-casfo-11.wellsfargo.com>

* 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