Michael Norman <mwnorman(at)gmail(dot)com> writes:
> Are there any examples of a custom analyze function for a table?
Um ... there's no such thing as a per-table custom analyze function.
Analyze functions are per-data-type. tsvector has a custom analyze
function in 8.4 and up (ts_typanalyze); you could look at that.
regards, tom lane