Re: in hot standby database execute select * from pg_class indicate error

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: in hot standby database execute select * from pg_class indicate error
Дата
Msg-id CA+U5nMKkY3vs9==Ld_P_vhsYG3AD=XBxwTacMYC1N1V_HUob5g@mail.gmail.com
обсуждение исходный текст
Ответ на in hot standby database execute select * from pg_class indicate error  (leo xu <leoxu8703@gmail.com>)
Список pgsql-bugs
On 10 May 2012 06:41, leo xu <leoxu8703@gmail.com> wrote:
> hello:
> =C2=A0 i execute any operation in hot standby database,it indicates that =
index
> pg_class_relname_nsp_index contains unexpected zero page at block 0,please
> reindex it.but hot standby server ,it only allow read,not write,
> =C2=A0i connect to primary server,i can execute any operation.
> =C2=A0standby connects to primary using streaming replication,it has
> synchronous.
> =C2=A0my database server is=EF=BC=9A9.1.2
> =C2=A0machine is :linux 5.4 64bit.
> i know that i can recreate standby database,it can work.
> is there =C2=A0others ways!

Run REINDEX on the primary server.

--=20
=C2=A0Simon Riggs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 http://www.2ndQuadrant.=
com/
=C2=A0PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: leo xu
Дата:
Сообщение: in hot standby database execute select * from pg_class indicate error
Следующее
От: lynn@creditlink.com
Дата:
Сообщение: BUG #6636: Variadic function fails with array type domain