Hi,
I reworked previous patch set according to recommendations. Patches
are generated by format-patch and applied by git am. Patches are based on
master from 03.11. Also, now we've got clean branch with incremental commits
which could be easily rebased onto a fresh master.
Currently, there are 8 patches:
1) 0001_create_table_storage_v3.patch - SET STORAGE option for CREATE
TABLE command by Teodor Sigaev which is required by all the following functionality;
2) 0002_toaster_interface_v6.patch - Toaster API (SQL syntax for toasters + API)
with Dummy toaster as an example of how this API should be used, but with default
toaster left 'as-is';
3) 0003_toaster_default_v5.patch - default (regular) toaster is implemented
via new API;
4) 0004_toaster_snapshot_v5.patch - refactoring of default toaster and support
of versioned toasted rows;
5) 0005_bytea_appendable_toaster_v5.patch - bytea toaster by Nikita Glukhov
Custom toaster for bytea data with support of appending (instead of rewriting)
stored data;
6) 0006_toasterapi_docs_v1.patch - brief documentation on Toaster API in Pg docs;
7) 0007_fix_alignment_of_custom_toast_pointers.patch - fixes custom toast pointer's
alignment required by bytea toaster by Nikita Glukhov;
8) 0008_fix_toast_tuple_externalize.patch - fixes toast_tuple_externalize function
not to call toast if old data is the same as new one.
I would be grateful for feedback on the reworked patch set.