Reduce code duplicates around pg_controldata
authorCédric Villemain <cedric@2ndquadrant.fr>
Mon, 7 Nov 2011 12:57:19 +0000 (13:57 +0100)
committerCédric Villemain <cedric@2ndquadrant.fr>
Thu, 10 Nov 2011 02:53:08 +0000 (03:53 +0100)
commit1118e0ab0028fee46a5bdaac9de169068e4fd03f
tree934231d85af60097fb28117ab4f7921ee1d0d7c8
parent2b6702af60fa033cddc844be63e646aff8db4078
Reduce code duplicates around pg_controldata

Use the open_controldata where pg_controldata was used previously.
Also split the code for make_sure_standby_mode to reduce code for the future
option make_sure_prod.
check_postgres.pl