pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reiner Dassing <dassing@wettzell.ifag.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Restoring a pg_dump fails with
Date: Wed, 02 May 2001 16:24:37 +0200
Message-ID: <3AF018A5.2F424492@wettzell.ifag.de> (raw)
References: <3AE84026.F994B9E2@wettzell.ifag.de>
	<16641.988302196@sss.pgh.pa.us>
	<3AE9262E.6191263F@wettzell.ifag.de>
	<4403.988375262@sss.pgh.pa.us>
	<3AED0AC3.2198D6F9@wettzell.ifag.de>
	<14603.988639166@sss.pgh.pa.us>

Hello Tom!

I would like to contact you again with two phenomenas which are
important
in my opinion:

1. The error "Memory exhausted in AllocSetAlloc(32)" is there on the 
   "delete from table" command, also.

2. There are some warnings during compilation which seems to be strange.

to 1.:
The following protocol will show the effect of "Memory exhausted":

sh-2.04$ psql wetter

Welcome to psql, the PostgreSQL interactive terminal.



Type:  \copyright for distribution terms

       \h for help with SQL commands

       \? for help on internal slash commands

       \g or terminate with semicolon to execute query

       \q to quit



wetter=# vacuum analyze wetter;

VACUUM

wetter=# delete from wetter;

ERROR:  Memory exhausted in AllocSetAlloc(32)              <----------- 
!!!!!!!!!

wetter=# select count(*) from wetter;

  count  

---------

 4457236

(1 row)



wetter=# \quit






To 2:
During compilation there are the following warnings:

cc -std -O4 -Olimit 2000 -I../../../../src/include   -c -o regproc.o
regproc.c

cc: Info: regproc.c, line 140: In this statement, an array subscript
expression is either less than zero or greater than the largest value
that can be represented by the size_t type. (badsubscript)

			result = (RegProcedure) heap_getattr(proctup,



cc -std -O4 -Olimit 2000 -I../../../../src/include   -c -o inval.o
inval.c

cc: Info: inval.c, line 180: In this statement, an array subscript
expression is either less than zero or greater than the largest value
that can be represented by the size_t type. (badsubscript)

	((InvalidationUserData *) entry)->dataP[-1] =

------------------------------------------------^

cc: Info: inval.c, line 202: In this statement, an array subscript
expression is either less than zero or greater than the largest value
that can be represented by the size_t type. (badsubscript)

			&((InvalidationUserData *) invalid)->dataP[-1];

-------------------------------------------------------------------^



There are some more warnings regarding the imcompatability between
'char' and 'unsigned char'
which I do not regard as serious.


Hoping to help in a way!
--
Mit freundlichen Gruessen / With best regards
   Reiner Dassing



view thread (12+ messages)  latest in thread

Message-ID: <3AF018A5.2F424492@wettzell.ifag.de>
Permalink:  ../3AF018A5.2F424492@wettzell.ifag.de/
Also on:    postgresql.org/message-id/3AF018A5.2F424492@wettzell.ifag.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dassing@wettzell.ifag.de, tgl@sss.pgh.pa.us
  Subject: Re: Restoring a pg_dump fails with
  In-Reply-To: <3AF018A5.2F424492@wettzell.ifag.de>
  References: <3AE84026.F994B9E2@wettzell.ifag.de> <16641.988302196@sss.pgh.pa.us> <3AE9262E.6191263F@wettzell.ifag.de> <4403.988375262@sss.pgh.pa.us> <3AED0AC3.2198D6F9@wettzell.ifag.de> <14603.988639166@sss.pgh.pa.us> <3AF018A5.2F424492@wettzell.ifag.de>

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

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