We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e250c8c commit 2959213Copy full SHA for 2959213
contrib/pg_stat_statements/pg_stat_statements.c
@@ -125,6 +125,11 @@ typedef enum pgssVersion
125
/*
126
* Hashtable key that defines the identity of a hashtable entry. We separate
127
* queries by user and by database even if they are otherwise identical.
128
+ *
129
+ * Right now, this structure contains no padding. If you add any, make sure
130
+ * to teach pgss_store() to zero the padding bytes. Otherwise, things will
131
+ * break, because pgss_hash is created using HASH_BLOBS, and thus tag_hash
132
+ * is used to hash this.
133
*/
134
typedef struct pgssHashKey
135
{
0 commit comments