diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-08 14:30:30 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2024-04-08 14:39:48 +0300 |
commit | dd1f6b0c172a643a73d6b71259fa2d10378b39eb (patch) | |
tree | 9c08767689111b896cc1d259c4bf2786b15fabba /src/backend/executor/nodeTableFuncscan.c | |
parent | df64c81ca9cba7b0fcb0ded5f735e99e676671c1 (diff) | |
download | postgresql-dd1f6b0c172a643a73d6b71259fa2d10378b39eb.tar.gz postgresql-dd1f6b0c172a643a73d6b71259fa2d10378b39eb.zip |
Provide a way block-level table AMs could re-use acquire_sample_rows()
While keeping API the same, this commit provides a way for block-level table
AMs to re-use existing acquire_sample_rows() by providing custom callbacks
for getting the next block and the next tuple.
Reported-by: Andres Freund
Discussion: https://postgr.es/m/20240407214001.jgpg5q3yv33ve6y3%40awork3.anarazel.de
Reviewed-by: Pavel Borisov
Diffstat (limited to 'src/backend/executor/nodeTableFuncscan.c')
0 files changed, 0 insertions, 0 deletions