Add db_in_standby_mode to update control file
Add db_in_standby_mode to update control file

In previous commit c9e2693cec7576ed4370071f05aa255ae77a6836, the control
file will be updated on the mirror when restart point is created.
However, different from upstream, GPDB is running mirror under
DB_IN_STANDY_MODE rather than DB_IN_ARCHIVE_RECOVERY mode in upstream.
Hence, the control file was never updated when creating restart point.

Author: Xin Zhang <80ac6425c128040c27b3c6077c824bc26222f5e7@pivotal.io>
Author: Taylor Vesely <2e71e1faa215a6c19636ce18fd58ddc16fff98ae@pivotal.io>

jmcatamney/gpdb,adam8157/gpdb,adam8157/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,xinzweb/gpdb,jmcatamney/gpdb,Chibin/gpdb,yuanzhao/gpdb,Chibin/gpdb,xinzweb/gpdb,greenplum-db/gpdb,Chibin/gpdb,Chibin/gpdb,adam8157/gpdb,jmcatamney/gpdb,50wu/gpdb,lisakowen/gpdb,ashwinstar/gpdb,Chibin/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,lisakowen/gpdb,50wu/gpdb,xinzweb/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,adam8157/gpdb,lisakowen/gpdb,edespino/gpdb,50wu/gpdb,greenplum-db/gpdb,lisakowen/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,Chibin/gpdb,adam8157/gpdb,edespino/gpdb,jmcatamney/gpdb,lisakowen/gpdb,yuanzhao/gpdb,lisakowen/gpdb,edespino/gpdb,jmcatamney/gpdb,edespino/gpdb,xinzweb/gpdb,xinzweb/gpdb,edespino/gpdb,50wu/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,adam8157/gpdb,xinzweb/gpdb,edespino/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,edespino/gpdb,edespino/gpdb,Chibin/gpdb,xinzweb/gpdb,greenplum-db/gpdb,50wu/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,Chibin/gpdb,greenplum-db/gpdb,edespino/gpdb,xinzweb/gpdb,greenplum-db/gpdb,50wu/gpdb,50wu/gpdb,ashwinstar/gpdb,lisakowen/gpdb,adam8157/gpdb,50wu/gpdb,edespino/gpdb,lisakowen/gpdb,adam8157/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,jmcatamney/gpdb