I have a running iDempiere 10.0 instance with PostgreSQL 15.15 DB. I try to use "pg_upgrade" to upgrade the DB to 18.1. But the upgrade process fails with the following error:
pg_restore: error: could not execute query: ERROR: commutator operator - is already the commutator of operator +
Command was: CREATE OPERATOR "adempiere".- (
FUNCTION = "adempiere"."subtractdays",
LEFTARG = interval,
RIGHTARG = numeric,
COMMUTATOR = OPERATOR("adempiere".-)
);
Anyone knows how to resolve this issue?
Nelson Chan