Re: Sync Rep v19

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-04-26T15:40:25Z
Lists: pgsql-hackers

Attachments

Simon Riggs wrote:
> On Wed, 2011-03-09 at 21:21 -0500, Bruce Momjian wrote:
> > Simon Riggs wrote:
> > > 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.
> > 
> > Is there a reason these status are all upper-case?
> 
> NOT AS FAR AS I KNOW.
> 
> I'll add it to the list of changes for beta.

The attached patch lowercases the labels displayed in the view above. 
(The example above was originally all upper-case.)

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +