mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
repmgr cluster event: order output by event_timestamp
Ordering by the derived "timestamp" column doesn't have sufficient granularity.
This commit is contained in:
@@ -67,7 +67,7 @@ do_cluster_event(void)
|
|||||||
where_clause.data);
|
where_clause.data);
|
||||||
|
|
||||||
appendPQExpBuffer(&query,
|
appendPQExpBuffer(&query,
|
||||||
" ORDER BY timestamp DESC");
|
" ORDER BY event_timestamp DESC");
|
||||||
|
|
||||||
if (runtime_options.all == false && runtime_options.limit > 0)
|
if (runtime_options.all == false && runtime_options.limit > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user