Do not perform prefetch for temp relations (#10146)

## Problem

See https://neondb.slack.com/archives/C04DGM6SMTM/p1734002916827019

With recent prefetch fixes for pg17 and `effective_io_concurrency=100` 
pg_regress test stats.sql is failed when set temp_buffers to 100.
Stream API will try to lock all this 100 buffers for prefetch.

## Summary of changes

Disable such behaviour for temp relations.
Postgres PR: https://github.com/neondatabase/postgres/pull/548

Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech>
This commit is contained in:
Konstantin Knizhnik
2024-12-16 08:03:53 +02:00
committed by GitHub
parent f3ecd5d76a
commit 117c1b5dde
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{
"v17": [
"17.2",
"010c0ea2eb06afe76485a33c43954cbcf3d99f86"
"65c4e46baf56ec05412c7dd63d62faff0b33dcfb"
],
"v16": [
"16.6",