Re: COMMUTATOR doesn't seem to work - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: COMMUTATOR doesn't seem to work
Date
Msg-id F8B02FE1-3EBD-411F-B7C1-2A96C4D9A073@phlo.org
Whole thread Raw
In response to Re: COMMUTATOR doesn't seem to work  (D'Arcy Cain <darcy@druid.net>)
Responses Re: COMMUTATOR doesn't seem to work
List pgsql-hackers
On Jun22, 2012, at 06:32 , D'Arcy Cain wrote:
> So I have my type working now but I had to create a new C function
> that take the opposite argument order.  Seems redundant but I could
> not see a better way.

There isn't. Postgres itself contains a huge number of such functions,
e.g. for every *lt() (less-than) there's a *gt() (greater-than).

best regards,
Florian Pflug



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Catalog/Metadata consistency during changeset extraction from wal
Next
From: Dimitri Fontaine
Date:
Subject: Re: Transactions over pathological TCP connections