repmgr cluster event: order output by event_timestamp

Ordering by the derived "timestamp" column doesn't have sufficient
granularity.
This commit is contained in:
Ian Barwick
2017-05-01 08:37:41 +09:00
parent bcb17dd71a
commit 675dc5adb3

View File

@@ -67,7 +67,7 @@ do_cluster_event(void)
where_clause.data);
appendPQExpBuffer(&query,
" ORDER BY timestamp DESC");
" ORDER BY event_timestamp DESC");
if (runtime_options.all == false && runtime_options.limit > 0)
{