@@ -2381,9 +2381,9 @@ mtm_get_nodes_state(PG_FUNCTION_ARGS)
2381
2381
usrfctx -> values [6 ]= TimestampTzGetDatum (time_t_to_timestamptz (Mtm -> nodes [usrfctx -> nodeId - 1 ].lastStatusChangeTime /USECS_PER_SEC ));
2382
2382
usrfctx -> values [7 ]= Int64GetDatum (Mtm -> nodes [usrfctx -> nodeId - 1 ].oldestSnapshot );
2383
2383
usrfctx -> values [8 ]= Int32GetDatum (Mtm -> nodes [usrfctx -> nodeId - 1 ].senderPid );
2384
- usrfctx -> values [9 ]= Int64GetDatum ( Mtm -> nodes [usrfctx -> nodeId - 1 ].senderStartTime );
2384
+ usrfctx -> values [9 ]= TimestampTzGetDatum ( time_t_to_timestamptz ( Mtm -> nodes [usrfctx -> nodeId - 1 ].senderStartTime / USECS_PER_SEC ) );
2385
2385
usrfctx -> values [10 ]= Int32GetDatum (Mtm -> nodes [usrfctx -> nodeId - 1 ].receiverPid );
2386
- usrfctx -> values [11 ]= Int64GetDatum ( Mtm -> nodes [usrfctx -> nodeId - 1 ].receiverStartTime );
2386
+ usrfctx -> values [11 ]= TimestampTzGetDatum ( time_t_to_timestamptz ( Mtm -> nodes [usrfctx -> nodeId - 1 ].receiverStartTime / USECS_PER_SEC ) );
2387
2387
usrfctx -> values [12 ]= CStringGetTextDatum (Mtm -> nodes [usrfctx -> nodeId - 1 ].con .connStr );
2388
2388
usrfctx -> nodeId += 1 ;
2389
2389