pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedin hot standby database execute select * from pg_class indicate error
2+ messages / 2 participants
[nested] [flat]
* in hot standby database execute select * from pg_class indicate error
@ 2012-05-10 05:41 leo xu <leoxu8703@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: leo xu @ 2012-05-10 05:41 UTC (permalink / raw)
To: pgsql-bugs
hello:
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,
i connect to primary server,i can execute any operation.
standby connects to primary using streaming replication,it has
synchronous.
my database server is:9.1.2
machine is :linux 5.4 64bit.
i know that i can recreate standby database,it can work.
is there others ways!
thanks!
--
View this message in context: http://postgresql.1045698.n5.nabble.com/in-hot-standby-database-execute-select-from-pg-class-indicat...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: in hot standby database execute select * from pg_class indicate error
@ 2012-05-10 15:25 Simon Riggs <simon@2ndQuadrant.com>
parent: leo xu <leoxu8703@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Simon Riggs @ 2012-05-10 15:25 UTC (permalink / raw)
To: leo xu <leoxu8703@gmail.com>; +Cc: pgsql-bugs
On 10 May 2012 06:41, leo xu <leoxu8703@gmail.com> wrote:
> hello:
> 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,
> i connect to primary server,i can execute any operation.
> standby connects to primary using streaming replication,it has
> synchronous.
> my database server is:9.1.2
> machine is :linux 5.4 64bit.
> i know that i can recreate standby database,it can work.
> is there others ways!
Run REINDEX on the primary server.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-05-10 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 05:41 in hot standby database execute select * from pg_class indicate error leo xu <leoxu8703@gmail.com>
2012-05-10 15:25 ` Simon Riggs <simon@2ndQuadrant.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox