In case of table with two indexes on a column, xo will generate two identical function which cause an error.
This is a sample Postgres table that produce two identical function XoTestByID
create table xo_test
(
id SERIAL PRIMARY KEY
);
create unique index on xo_test (id);