Zhen Yang <zykuak(at)yahoo(dot)com> writes:
> What are the C interface functions in Postgresql to add indexes?
You will need to study the source code for the existing index types.
There is not much documentation other than the sources for the index
access method APIs.
regards, tom lane