]> granicus.if.org Git - postgresql/commit
Add support for multiple kinds of external toast datums.
authorRobert Haas <rhaas@postgresql.org>
Tue, 2 Jul 2013 17:35:14 +0000 (13:35 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 2 Jul 2013 17:38:55 +0000 (13:38 -0400)
commit3682025015390a8e802e0752589162db7bd70b5d
treeb72433fb328d27b2289204e2c19282de29633f22
parent148326b9940c6f3aa554df83a70c7d4563f67d86
Add support for multiple kinds of external toast datums.

To that end, support tags rather than lengths for external datums.
As an example of how this can be used, add support or "indirect"
tuples which point to some externally allocated memory containing
a toast tuple.  Similar infrastructure could be used for other
purposes, including, perhaps, support for alternative compression
algorithms.

Andres Freund, reviewed by Hitoshi Harada and myself
src/backend/access/heap/tuptoaster.c
src/include/access/tuptoaster.h
src/include/postgres.h
src/test/regress/expected/indirect_toast.out [new file with mode: 0644]
src/test/regress/input/create_function_1.source
src/test/regress/output/create_function_1.source
src/test/regress/parallel_schedule
src/test/regress/regress.c
src/test/regress/serial_schedule
src/test/regress/sql/indirect_toast.sql [new file with mode: 0644]