Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelanie Plageman2025-04-04 19:25:17 +0000
committerMelanie Plageman2025-04-04 19:28:39 +0000
commit7f848cb788ee05b9a4896ad2e19b9ee724577439 (patch)
tree91b9ddc23f3103ef001cea1b5e9e5338fa6b719e /src/backend/commands/constraint.c
parentb3f1a13f22f9e28842ee5fbd08b7ec805e27aaac (diff)
Remove superfluous autoprewarm check
autoprewarm_database_main() prewarms blocks from the same database. It is passed an array of sorted BlockInfoRecords and a start and stop index into the array. The range represented should include only blocks belonging to global objects or blocks from a single database. Remove an unnecessary check that the current block is from the same database and add an assert to ensure this invariant remains. Doing so removes a special case that makes future refactoring to accommodate read streamifying autoprewarm easier. Noticed off-list by Andres Freund
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions