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.