On 2019-Sep-24, Michael Paquier wrote:
> I looked at that over the last couple of days, and done as attached.
> Well, the actual module is in 0003. I have added more comments to
> document the basic AM calls so as it can easier be used as a template
> for some other work, and tweaked a couple of things. 0001 and 0002
> are just the patches from the other thread to address the issues with
> the lock mode of custom reloptions.
0003 looks useful, thanks for completing it. I think it would be a good
idea to test invalid values for each type of reloption too (passing
floating point to integers, strings to floating point, and so on).
If you can get this pushed, I'll push the enum reloptions on top.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services