PG-306: The bucket start time should be timestamp instead of TEXT.

This commit is contained in:
Ibrar Ahmed
2022-11-15 18:11:10 +00:00
parent a392c98b5c
commit bc19c99c0b
4 changed files with 7 additions and 7 deletions

View File

@@ -1845,7 +1845,7 @@ pg_stat_monitor_internal(FunctionCallInfo fcinfo,
values[i++] = CStringGetTextDatum(tmp.error.message);
/* bucket_start_time at column number 15 */
values[i++] = CStringGetTextDatum(pgss->bucket_start_time[entry->key.bucket_id]);
values[i++] = CStringGetDatum(pgss->bucket_start_time[entry->key.bucket_id]);
if (tmp.calls.calls == 0)
{
/* Query of pg_stat_monitor itslef started from zero count */