I have bumped into a couple of issues with psql completion for access methods: 1) CREATE INDEX USING suggests both index and table AMs. 2) CREATE TABLE USING has no completion support, USING not being included in the completion, and the follow-up table AMs are missing as well. 3) CREATE ACCESS METHOD TYPE suggests only INDEX.
Attached is a patch to close the gap. Thoughts? -- Michael