v.24.6Improvement

Respect max_read_buffer_size in file table function

Respect max_read_buffer_size setting for file descriptors as well in the file table function. #64532 (Azat Khuzhin).
The file table function now respects the max_read_buffer_size setting for file descriptors.

Why it matters

This feature ensures that the reading of files via the file table function adheres to the configured max_read_buffer_size limit, improving resource management and preventing excessive memory consumption during file reads.

How to use it

To enable this behavior, simply use the file table function as usual. The function will automatically apply the current max_read_buffer_size setting when reading files. You can configure max_read_buffer_size in your server settings or session configuration.