postgresql/src/include/lib
Andres Freund 352d297dc7 dshash: Add sequential scan support.
Add ability to scan all entries sequentially to dshash. The interface is
similar but a bit different both from that of dynahash and simple dshash
search functions. The most significant differences is that dshash's interfac
always needs a call to dshash_seq_term when scan ends. Another is
locking. Dshash holds partition lock when returning an entry,
dshash_seq_next() also holds lock when returning an entry but callers
shouldn't release it, since the lock is essential to continue a scan. The
seqscan interface allows entry deletion while a scan is in progress using
dshash_delete_current().

Reviewed-By: Andres Freund <andres@anarazel.de>
Author: Kyotaro Horiguchi <horikyoga.ntt@gmail.com>
2022-03-10 12:57:05 -08:00
..
binaryheap.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bipartite_match.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
bloomfilter.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dshash.h dshash: Add sequential scan support. 2022-03-10 12:57:05 -08:00
hyperloglog.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
ilist.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
integerset.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
knapsack.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pairingheap.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
qunique.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
rbtree.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
simplehash.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
sort_template.h Fix missing undefine in sort_template.h 2022-01-31 15:10:01 -05:00
stringinfo.h Update copyright for 2022 2022-01-07 19:04:57 -05:00