Re: pgsql: Initialize HASHCTL differently, to suppress Coverity warning

2024-08-11 Thread Tom Lane
Heikki Linnakangas writes: > Initialize HASHCTL differently, to suppress Coverity warning koel says this is mis-indented. regards, tom lane

pgsql: Initialize HASHCTL differently, to suppress Coverity warning

2024-08-11 Thread Heikki Linnakangas
Initialize HASHCTL differently, to suppress Coverity warning Coverity complained that the hash_create() call might access hash_table_ctl->hctl. That's a false alarm, hash_create() only accesses that field when passed the HASH_SHARED_MEM flag. Try to silence it by using a plain local variable inste