Disable Conflict and Canceled queries menus when this is not a standby server. Thanks to Guillaume Lelarge for the report.