Hi, everyone.  I'm working on a project that is already using PostgreSQL 9.0, including streaming replication.  I'm trying to help them figure out a good architecture for ensuring stability and failover under a variety of conditions, and wanted to ask the community for suggestions and help.

Basically, they have a mission-critical application that talks to PostgreSQL, and which works quite well.  Because of the mission-critical nature of the application, it has been implemented twice, once at each data center.  The two data centers are connected via a network connection; one PostgreSQL server acts as the master, and the other acts as a (read-only) slave.  We're using pgpool in the second data center (i.e., the one with the PostgreSQL replication slave) to send all writes to the first data center (i.e., the one with the PostgreSQL replication master), but to balance reads across the two servers.

This all works really well.  The automatic failover also works well, such that when the master goes down, the slave is promoted to the master, a bit of IP-address switching happens behind the scenes, and things continue to hum along.

So far, so good.  But we have a few questions:
Thanks for any suggestions and answers that you can provide.  And of course, if I've missed something obvious in the documentation, then a pointer to the appropriate resource would be more than welcome.n

Reuven
-- 
Reuven M. Lerner -- Web development, consulting, and training
Mobile: +972-54-496-8405 * US phone: 847-230-9795
Skype/AIM: reuvenlerner