Re: Restoring a pg_dump fails with - Mailing list pgsql-admin

From Tom Lane
Subject Re: Restoring a pg_dump fails with
Date
Msg-id 11497.988815239@sss.pgh.pa.us
Whole thread Raw
In response to Re: Restoring a pg_dump fails with  (Reiner Dassing <dassing@wettzell.ifag.de>)
List pgsql-admin
Reiner Dassing <dassing@wettzell.ifag.de> writes:
> 1. The error "Memory exhausted in AllocSetAlloc(32)" is there on the
>    "delete from table" command, also.

I am still unable to reproduce this problem.  Are you sure there is not
something you've failed to mention about the table --- rules, triggers,
weird default values, anything?

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

> 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)

Your compiler vendors appear not to have read the C specification very
carefully --- array subscripts have integer type not unsigned type,
and there is nothing invalid about the code being complained of.
(The warning in regproc.c is particularly idiotic, because the compiler
should also have been able to deduce that the code being complained of
can never be reached --- it's inside an "if" with a constant condition.)

            regards, tom lane

pgsql-admin by date:

Previous
From: Anuradha Ratnaweera
Date:
Subject: Re: Re: disable wal
Next
From: Bruce Momjian
Date:
Subject: Re: Re: Re: disable wal