> > Uh, what? Surely we would provide a bespoke command for each possible > > sort of handler. As an example, CREATE INDEX ACCESS METHOD ought to check > > that the provided function has the right signature, and then it would put > > the correct amkind into the pg_am entry automatically.
I'm thinking we'd do CREATE ACCESS METHOD foobar TYPE INDEX or something like that.
Ok! Let's nail down the syntax and I can integrate it into my createam patch.
I would prefer "CREATE {INDEX | SEQUENCE | ... } ACCESS METHOD name HANDLER handler;", but I don't insist.