Re: COMMUTATOR doesn't seem to work

From: Florian Pflug <fgp(at)phlo(dot)org>
To: D'Arcy Cain <darcy(at)druid(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: COMMUTATOR doesn't seem to work
Date: 2012-06-22 11:11:00
Message-ID: F8B02FE1-3EBD-411F-B7C1-2A96C4D9A073@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2012-06-22 12:28:26 Re: Transactions over pathological TCP connections
Previous Message Andres Freund 2012-06-22 09:42:10 Re: Catalog/Metadata consistency during changeset extraction from wal