diff --git a/src/gp_activetable.c b/src/gp_activetable.c index 0a78c64c..e06b613a 100644 --- a/src/gp_activetable.c +++ b/src/gp_activetable.c @@ -69,7 +69,7 @@ TimestampTz active_tables_last_overflow_report = 0; * dbid will be removed from it when droping diskquota extension */ HTAB *altered_reloid_cache = NULL; // Set -time_t altered_reloid_cache_last_overflow_report = 0; +TimestampTz altered_reloid_cache_last_overflow_report = 0; #define ALTERED_RELOID_CACHE_ENTER(keyPtr, foundPtr) \ shm_hash_enter(altered_reloid_cache, keyPtr, foundPtr, diskquota_max_active_tables, \ diff --git a/src/quotamodel.c b/src/quotamodel.c index 612ebfac..533becfb 100644 --- a/src/quotamodel.c +++ b/src/quotamodel.c @@ -204,8 +204,8 @@ static TimestampTz table_size_last_overflow_report = 0; static HTAB *disk_quota_reject_map = NULL; static HTAB *local_disk_quota_reject_map = NULL; -static time_t disk_quota_reject_last_overflow_report = 0; -static time_t local_disk_quota_reject_last_overflow_report = 0; +static TimestampTz disk_quota_reject_last_overflow_report = 0; +static TimestampTz local_disk_quota_reject_last_overflow_report = 0; #define REJECT_MAP_ENTER(keyPtr, foundPtr) \ shm_hash_enter(disk_quota_reject_map, keyPtr, foundPtr, MAX_DISK_QUOTA_REJECT_ENTRIES, \ diff --git a/src/relation_cache.c b/src/relation_cache.c index f45b541d..94633903 100644 --- a/src/relation_cache.c +++ b/src/relation_cache.c @@ -32,7 +32,7 @@ HTAB *relation_cache = NULL; HTAB *relid_cache = NULL; -extern time_t active_tables_last_overflow_report; +extern TimestampTz active_tables_last_overflow_report; #define RELATION_CACHE_ENTER(keyPtr, foundPtr) \ shm_hash_enter(relation_cache, keyPtr, foundPtr, diskquota_max_active_tables, \