Craig Ringer <craig@xxxxxxxxxxxxxxxxxxxxx> writes: > Is there any chance your contrib package does not match the core > PostgreSQL version or is from a different source? qsort_arg was added in 8.2, so it seems certain he's trying to load an 8.2 tsearch2 into his 8.1 engine. regards, tom lane