diff --git a/repmgr-action-cluster.c b/repmgr-action-cluster.c index c0b35926..7a961509 100644 --- a/repmgr-action-cluster.c +++ b/repmgr-action-cluster.c @@ -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) {