On Fri, 2011-03-04 at 23:15 +0900, Fujii Masao wrote:
> postgres=# SELECT application_name, state, sync_priority, sync_state
> FROM pg_stat_replication;
> application_name | state | sync_priority | sync_state
> ------------------+-----------+---------------+------------
> one | STREAMING | 1 | POTENTIAL
> two | STREAMING | 2 | SYNC
> (2 rows)
Bug! Thanks.
Fixed
-- Simon Riggs http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services