PG-306: Covnereted bucket_start_time datatype from TEXT to TIMESTAMP.

This commit is contained in:
Ibrar Ahmed
2022-01-05 16:41:17 +00:00
parent 9a35b5d1c0
commit 51ad08c42f
3 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ FROM pg_stat_monitor_settings();
-- Register a view on the function for ease of use.
CREATE VIEW pg_stat_monitor AS SELECT
bucket,
bucket_start_time AS bucket_start_time,
bucket_start_time::timestamp AS bucket_start_time,
userid::regrole,
datname,
'0.0.0.0'::inet + client_ip AS client_ip,

View File

@@ -145,7 +145,7 @@ FROM pg_stat_monitor_settings();
-- Register a view on the function for ease of use.
CREATE VIEW pg_stat_monitor AS SELECT
bucket,
bucket_start_time AS bucket_start_time,
bucket_start_time::timestamp AS bucket_start_time,
userid::regrole,
datname,
'0.0.0.0'::inet + client_ip AS client_ip,

View File

@@ -142,7 +142,7 @@ FROM pg_stat_monitor_settings();
-- Register a view on the function for ease of use.
CREATE VIEW pg_stat_monitor AS SELECT
bucket,
bucket_start_time AS bucket_start_time,
bucket_start_time::timestamp AS bucket_start_time,
userid::regrole,
datname,
'0.0.0.0'::inet + client_ip AS client_ip,