In addition to original patch set for Pluggable Toaster, we have two more patches
(actually, small, but important fixes), authored by Nikita Glukhov:
1) 0001-Fix-toast_tuple_externalize.patch
This patch fixes freeing memory in case of new toasted value is the same as old one,
this seems incorrect, and in this case the function just returns instead of freeing old value;
2) 0002-Fix-alignment-of-custom-TOAST-pointers.patch
This patch adds data alignment for new varatt_custom data structure in building tuples,
since varatt_custom must be aligned for custom toasters (in particular, this fix is very
important to JSONb Toaster).
These patches must be applied on top of the latter 4_bytea_appendable_toaster_v1.patch.
Please consider them in reviewing Pluggable Toaster.
Regards.