Backend dies (6.5.3-1) on SELECT from 6 row table

From: "Emils Klotins" <emils(at)mail(dot)usis(dot)bkc(dot)lv>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: Backend dies (6.5.3-1) on SELECT from 6 row table
Date: 1999-11-26 14:35:56
Message-ID: 12273905952244@bkc.lv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello!

Can you please tell me,
what are the memory requirements for Postgres?

I have a Postgres 6.5.3-1 server , a db with approx 15 tables,
no table has more than 10-15 fields, mostly text a couple of int.
I have currently no more than 20 rows in any table. Most have
2-6 rows.Total db directory size is 4MB.

When I try to "SELECT * FROM most of the tables (except for
ones which have 2 or less rows) , the backend dies:
> smmc=> select * from authors;
> pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.
> We have lost the connection to the backend, so further processing
> is impossible. Terminatin g.

If i try to select specific field (address_id or lastname,
firstname from the same table - it works).

Postmaster remains and I can connect again immediately.

If I try this thru my webserver interface, I have to restart it else
it can't reestablish link to db (I'm using Roxen Challenger
1.3.121).
However, the web interface error message at least shows that
Postgres can't allocate memory.

Which is kind of strange. I installed 6.5.3-1 today (RPMs from
postgresql.org), I am running Red Hat Linux 5.2 (kern 2.0.36)
on Pentium II 266/ w/ 128MB RAM. Only other significant
process running is the web server, which is running on other
machines all right (together with postgres).

The db is a leftover from 6.4.2 I had this morning. I did a
pg_dumpall -o > db.out and restored it to the new version.

Emils.

Browse pgsql-sql by date

  From Date Subject
Next Message Artur Kokoszka 1999-11-26 15:52:15 national character once again
Previous Message Dipankar Chakrabarti 1999-11-26 05:42:28 Re: pgsql-sql-digest V1 #424