ERROR: commutator operator - is already the commutator of operator +

From: shohorab hossain <shohorab23(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: ERROR: commutator operator - is already the commutator of operator +
Date: 2024-11-17 11:49:28
Message-ID: CALBMUWWkDcVwAyba5gAN_D0cbmP7wQwtJ3615tkhwJyQw=DJkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Whenever I try to restore a dump database backup to PostgreSQL version
17.1, I receive the following error log. The dump is from PostgreSQL
version 15.8.

What is this error and how can I fix it?.
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.-)

);

pg_restore: error: could not execute query: ERROR: operator does not exist:
interval adempiere.- numeric

Command was: ALTER OPERATOR adempiere.- (interval, numeric) OWNER TO
adempiere;

With Best Regards

Shohorab Hossain

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-11-17 16:05:35 Re: ERROR: commutator operator - is already the commutator of operator +
Previous Message Tom Lane 2024-11-17 06:26:38 Re: BUG #18708: regex problem: (?:[^\d\D]){0} asserts with "lp->nouts == 0 && rp->nins == 0"