mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Fix comments for the dshash_parameters struct.
A recent commit added a copy_function member to the dshash_parameters struct, but it missed updating a couple of comments that refer to the function pointer members of this struct. One of those comments also refers to a tranche_name member and non- arg variants of the function pointer members, all of which were either removed during development or removed shortly after dshash table support was committed. Oversights in commits8c0d7bafad,d7694fc148, and42a1de3013. Discussion: https://postgr.es/m/20240227045213.GA2329190%40nathanxps13
This commit is contained in:
@@ -202,7 +202,7 @@ static inline void copy_key(dshash_table *hash_table, void *dest,
|
||||
* Create a new hash table backed by the given dynamic shared area, with the
|
||||
* given parameters. The returned object is allocated in backend-local memory
|
||||
* using the current MemoryContext. 'arg' will be passed through to the
|
||||
* compare and hash functions.
|
||||
* compare, hash, and copy functions.
|
||||
*/
|
||||
dshash_table *
|
||||
dshash_create(dsa_area *area, const dshash_parameters *params, void *arg)
|
||||
|
||||
Reference in New Issue
Block a user