Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 22, 2024
1 parent 90c16e2 commit a4167d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/relation_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ show_relation_cache(PG_FUNCTION_ARGS)
relation_cache_ctx->relation_cache = diskquota_hash_create("relation_cache_ctx->relation_cache", 1024, &hashctl,
HASH_ELEM | HASH_CONTEXT, DISKQUOTA_OID_HASH);

remove_committed_relation_from_cache();

LWLockAcquire(diskquota_locks.relation_cache_lock, LW_SHARED);
hash_seq_init(&hash_seq, relation_cache);
while ((entry = (DiskQuotaRelationCacheEntry *)hash_seq_search(&hash_seq)) != NULL)
Expand Down

0 comments on commit a4167d7

Please sign in to comment.