On 2018-09-28 12:21:08 +1000, Haribabu Kommi wrote: > Here I attached further cleanup patches. > 1. Re-arrange the GUC variable > 2. Added a check function hook for default_table_access_method GUC
Cool. > 3. Added a new hook validate_index. I tried to change the function > validate_index_heapscan to slotify, but that have many problems as it > is accessing some internals of the heapscandesc structure and accessing > the buffer and etc. Oops, I also did that locally, in a way. I also made a validate a callback, as the validation logic is going to be specific to the AMs. Sorry for not pushing that up earlier. I'll try to do that soon, there's a fair amount of change. Greetings, Andres Freund