Daniel Kalchev <daniel@digsys.bg> writes:
> I have this problem with PostgreSQL 6.5.2:
> logs=> select distinct confid
> logs-> from timelog199910
> logs-> where
> logs-> confid IS NOT NULL;
> pqReadData() -- backend closed the channel unexpectedly.
> The logged message in stderr (of postmaster) is
> FATAL 1: Memory exhausted in AllocSetAlloc()
Odd. I can't replicate this here. (I'm using 6.5.3, but I doubt that
matters.) There must be some factor involved that you haven't told us.
You don't have any triggers or rules on the table, do you?
Has anyone else seen anything like this?
regards, tom lane