Feature: Add reloption support for table access method

2023-05-05 Thread
Hi pg-hackers, When I wrote an extension to implement a new storage by table access method. I found some issues that the existing code has strong assumptions for heap tables now. Here are 3 issues that I currently have: 1. Index access method has a callback to handle reloptions, but table acc

Re:Re: Feature: Add reloption support for table access method

2023-05-10 Thread
> > The rest of this mail is to talk about the first issue. It looks reasonable > > to add a similar callback in > > struct TableAmRoutine, and parse reloptions by the callback. This patch is > > in the attachment file. > > Why did you add relkind to the callbacks? The callbacks are specific to a