On Sep 25, 2013, at 6:13 PM, Michael Paquier <michael.paquier@xxxxxxxxx> wrote: > "SELECT pg_is_in_recovery();" can be used to make the difference > between a master and a slave. Exactly what I need; thanks. -- Scott Ribe scott_ribe@xxxxxxxxxxxxxxxx http://www.elevated-dev.com/ (303) 722-0567 voice -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general