diff options
| author | Robert Haas | 2019-09-06 14:38:51 +0000 |
|---|---|---|
| committer | Robert Haas | 2019-09-06 14:38:51 +0000 |
| commit | bd124996ef0d655f96a7d4df79611707091f1585 (patch) | |
| tree | 0312f850eca51afcbf750c3178181a0da0296a1d /src/tools/pgindent | |
| parent | 286af0ce12117bc673b97df6228d1a666594d247 (diff) | |
Create an API for inserting and deleting rows in TOAST tables.
This moves much of the non-heap-specific logic from toast_delete and
toast_insert_or_update into a helper functions accessible via a new
header, toast_helper.h. Using the functions in this module, a table
AM can implement creation and deletion of TOAST table rows with
much less code duplication than was possible heretofore. Some
table AMs won't want to use the TOAST logic at all, but for those
that 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.com
Diffstat (limited to 'src/tools/pgindent')
| -rw-r--r-- | src/tools/pgindent/typedefs.list | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 432d2d812e5..f3cdfa8a223 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -2349,6 +2349,8 @@ TBlockState TIDBitmap TM_FailureData TM_Result +ToastAttrInfo +ToastTupleContext TOKEN_DEFAULT_DACL TOKEN_INFORMATION_CLASS TOKEN_PRIVILEGES |
