You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0002_toaster_interface patch
Toaster API consists of 4 parts:
1) SQL syntax supports manipulations with toasters - add new toaster,
assign toaster to a table column.
Toaster API requires earlier patch with CREATE TABLE SET STORAGE clause;
New column atttoaster is added to pg_attribute.
Toaster drop is not allowed for not to lose already toasted data;
2) New VARATT_CUSTOM data structure with fixed header and variable
tail to store custom toasted data, with according macros set;
3) Toaster handler routine structure contains custom toaster functions.
Along with necessary functions custom toasters could implement other
functions which are stored into vtable;
4) Dummy toaster implemented via new Toaster API to be used as sample.
In this patch regular (default) toast function is not yet implemented
via new API.
Toaster API syntax and code explanation could be found in additional docs patch.
Cleaned up log files.
Fixed rebase conflict in describe.c describeToasters
Fixed return values in Dummy toaster from varlena * to Datum
Included 0007_fix_alignment_of_custom_toast_pointers patch
0 commit comments