Re: Error with index on unlogged table

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Error with index on unlogged table
Дата
Msg-id 20150326141341.GI451@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Error with index on unlogged table  (Thom Brown <thom@linux.com>)
Ответы Re: Error with index on unlogged table  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On 2015-03-26 13:55:22 +0000, Thom Brown wrote:
> I still, however, have a problem with the separate and original issue of:
> 
> # insert into utest (thing) values ('moomoo');
> ERROR:  index "utest_pkey" contains unexpected zero page at block 0
> HINT:  Please REINDEX it.
> 
> I don't see why the user should need to go re-indexing all unlogged tables
> each time a standby is promoted.  The index should just be empty and ready
> to use.

There's definitely something rather broken here. Investigating.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Error with index on unlogged table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: controlling psql's use of the pager a bit more