> You are really doing things quite the hard way here anyhow, since
> pg_get_indexdef would produce the info you want without so much work,
> and with less dependency in psql on backend catalog details. I'd
> suggest pulling the pg_get_indexdef result instead of indkey in the
> SELECT, and then just print the part after USING.
Quick question - where are all these handy 'pg_get_indexdef' and friends
functions documented???
Chris