PG-150: Logging CMD Type like SELECT, UPDATE, INSERT, DELETE.

This commit is contained in:
Ibrar Ahmed
2021-02-10 14:55:40 +00:00
parent aa58c5860c
commit bd8c54476f
4 changed files with 46 additions and 49 deletions

View File

@@ -132,7 +132,7 @@ hash_memsize(void)
Size size;
size = MAXALIGN(sizeof(pgssSharedState));
size = MAXALIGN(MAX_QUERY_BUF);
size += MAXALIGN(MAX_QUERY_BUF);
size = add_size(size, hash_estimate_size(MAX_BUCKET_ENTRIES, sizeof(pgssEntry)));
size = add_size(size, hash_estimate_size(500000, sizeof(pgssQueryEntry)));