agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Tatsuo Ishii <t-ishii@srashc.sra.co.jp>
To: postgres@postgres.Berkeley.EDU
Cc: t-ishii@srashc.sra.co.jp
Subject: failed to "select pg_class" on postgres95
Date: Thu, 29 Jun 1995 14:43:36 +0900
Message-ID: <199506290543.OAA21496@srashc.sra.co.jp> (raw)

Please forgive me if this is wrong place.(Is there any postgres95
specific mail address?)

I have installed postgres95 beta 0.02 on Sun Sparc running Sun OS
4.1.3. When I isssued a query "select * from pg_class" from monitor
command, it failed with a message:

	Error: Cannot Allocate space

I ran the monitor with trace command again, and found that it tried to
allocate huge amount of memory:

write (1, "Query sent to backend is "select".., 51) = Query sent to backend is "select * from pg_class;"
51
write (4, "Qselect * from pg_class;\0", 25) = 25
read (5, "Pblank\0T\21\0relname\0\23\0\0\0\20\0relowner".., 4096) = 270
read (5, "".., 4096) = 2992
brk (0x1cfc8) = 0
brk (0x1dfc8) = 0
brk (0x1efc8) = 0
read (5, "".., 4096) = 1104
read (5, "\0r\5\0\0\0n\5\0\0\0004\21\0\0\0magnetic disk\23\0\0".., 4096) = 2589
brk (0x1ffc8) = 0
brk (0x20fc8) = 0
brk (0x54515fc8) = -1 ENOMEM (Not enough memory)
     ~~~~~~~~~~
write (2, "Error: Cannot Allocate space.\n", 30) = Error: Cannot Allocate space.
30

I also tried pgtclsh, which only dumped core. Note that almost same
query "retrieve (pg_class.all)" on postgres 4.2 runs fine. Any idea?

Tatsuo Ishii

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: t-ishii@srashc.sra.co.jp
  Subject: Re: failed to "select pg_class" on postgres95
  In-Reply-To: <199506290543.OAA21496@srashc.sra.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox