Re: Restoring a pg_dump fails with

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Restoring a pg_dump fails with
Дата
Msg-id 11497.988815239@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Restoring a pg_dump fails with  (Reiner Dassing <dassing@wettzell.ifag.de>)
Список 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 по дате отправления:

Предыдущее
От: Anuradha Ratnaweera
Дата:
Сообщение: Re: Re: disable wal
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Re: disable wal