- Notifications
You must be signed in to change notification settings - Fork28
Commitbd12499
committed
Create an API for inserting and deleting rows in TOAST tables.
This moves much of the non-heap-specific logic from toast_delete andtoast_insert_or_update into a helper functions accessible via a newheader, toast_helper.h. Using the functions in this module, a tableAM can implement creation and deletion of TOAST table rows withmuch less code duplication than was possible heretofore. Sometable AMs won't want to use the TOAST logic at all, but for thosethat do this will make that easier.Patch by me, reviewed and tested by Prabhat Sabu, Thomas Munro,Andres Freund, and Álvaro Herrera.Discussion:http://postgr.es/m/CA+TgmoZv-=2iWM4jcw5ZhJeL18HF96+W1yJeYrnGMYdkFFnEpQ@mail.gmail.com1 parent286af0c commitbd12499
File tree
5 files changed
+493
-357
lines changed- src
- backend/access
- heap
- table
- include/access
- tools/pgindent
5 files changed
+493
-357
lines changed0 commit comments
Comments
(0)