lemmy/crates
dullbananas 4120c2fc2f
Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267)
* get_random_community_id: add filters for nsfw and private, use algorithm that doesn't scan the entire table

* only call random_smallint once for filter

* change migration date

* make random_smallint function work in postgresql 16

* replace "32768 + 32767 + 1" with "65536" and improve comments

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2025-01-16 14:16:57 -05:00
..
api Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
api_common Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
api_crud Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
apub Add media filter setting (#5325) 2025-01-16 12:57:58 +01:00
db_perf Correctly paginate PostView when read_only is enabled (#5320) 2025-01-13 15:46:46 -05:00
db_schema Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
db_views Changes to get_random_community_id: add filters for nsfw and private, use algorthm that doesn't scan the entire table (#5267) 2025-01-16 14:16:57 -05:00
db_views_actor Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
db_views_moderator Adding Combined modlog (#5253) 2025-01-14 15:14:58 +01:00
federate Upgrading deps. (#5326) 2025-01-15 10:10:12 +01:00
routes Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00
utils Adding combined inbox (#5257) 2025-01-15 12:51:39 -05:00