I've had two rounds of that problem over the years. Both were caused by 3rd-party extensions to PostgreSQL.