diff options
author | Robert Haas <rhaas@postgresql.org> | 2020-01-07 14:35:48 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2020-01-07 14:36:38 -0500 |
commit | ce242ae154dde3217971c6f262705d80999f4e00 (patch) | |
tree | b27d011a88c2c4037a76b6c901d8af0654050f86 /contrib/postgres_fdw/postgres_fdw.h | |
parent | 83322e38da1aa054e1b144cb37e6074a86854199 (diff) | |
download | postgresql-ce242ae154dde3217971c6f262705d80999f4e00.tar.gz postgresql-ce242ae154dde3217971c6f262705d80999f4e00.zip |
tableam: New callback relation_fetch_toast_slice.
Instead of always calling heap_fetch_toast_slice during detoasting,
invoke a table AM callback which, when the toast table is a heap
table, will be heap_fetch_toast_slice.
This makes it possible for a table AM other than heap to be used
as a TOAST table. It also completes the series of commits intended
to improve the interaction of tableam with TOAST that began with
commit 8b94dab06617ef80a0901ab103ebd8754427ef5a; detoast.c is
now, hopefully, fully AM-independent.
Patch by me, reviewed by Andres Freund and Peter Eisentraut.
Discussion: http://postgr.es/m/CA+TgmoZv-=2iWM4jcw5ZhJeL18HF96+W1yJeYrnGMYdkFFnEpQ@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions