memory error

Поиск
Список
Период
Сортировка
От Oeschey, Lars (I/EK-142, extern)
Тема memory error
Дата
Msg-id 17A09E9509BB354E95C2FEE5102B0F5F0131569F@audiinsx0036.audi.vwg
обсуждение исходный текст
Ответы Re: memory error
Список pgsql-novice
Hi,

I have a table with 46 million rows, when I execute the following statement on it, I get an error:

ALTER TABLE ONLY etefas.tbl_ecu ADD CONSTRAINT pk_tbl_ecu PRIMARY KEY (pk_ecu);
HINWEIS:  ALTER TABLE / ADD PRIMARY KEY erstellt implizit einen Index »pk_tbl_ecu« für Tabelle »tbl_ecu«
FEHLER:  Speicher aufgebraucht
DETAIL:  Fehler bei Anfrage mit GröÃe 268435456.

The statement came not from my head, but from a dump of the database (hence, the restore fails there, too). Am I doing
somethingwrong? 

Postgresql is 8.1.9

Lars

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Rodrigo De León"
Дата:
Сообщение: Re: Implementation of a updateable, "temporal" view on data
Следующее
От: Tom Lane
Дата:
Сообщение: Re: memory error