Hi, Alexander! For 0007:
Code inside +heapam_reloptions(char relkind, Datum reloptions, bool validate) +{ + if (relkind == RELKIND_RELATION || + relkind == RELKIND_TOASTVALUE || + relkind == RELKIND_MATVIEW) + return heap_reloptions(relkind, reloptions, validate); + + return NULL; looks redundant to what is done inside heap_reloptions(). Was this on purpose? Is it possible to leave only "return heap_reloptions()" ? This looks like a duplicate: src/include/access/reloptions.h:extern bytea *index_reloptions(amoptions_function amoptions, Datum reloptions, src/include/access/tableam.h:extern bytea *index_reloptions(amoptions_function amoptions, Datum reloptions, Otherwise the patch looks good and doing what it's proposed to do. Regards, Pavel Borisov.