Re: Backend sent D message without prior T

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Antonis Antoniou <a(dot)antoniou(at)albourne(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Backend sent D message without prior T
Date: 2001-02-14 15:43:42
Message-ID: 13803.982165422@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Antonis Antoniou <a(dot)antoniou(at)albourne(dot)com> writes:
> I get the following message:
> Backend sent D message without prior T

> Does anyone knows about this message? I am expecting to retrieve
> 2818510 records and am using PostgreSQL 7.1beta4.

IIRC, this is a fairly common symptom of the frontend app running out
of memory --- libpq loses sync with what the backend is sending, and
it doesn't handle that very gracefully.

I'd suggest using a cursor to retrieve the data in more manageable
chunks.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Len Morgan 2001-02-14 15:55:12 Re: Re: ALTER DROP COLUMN
Previous Message Holger Klawitter 2001-02-14 15:40:16 Re: very simple: How can I multiply tables?