Re: add modulo (%) operator to pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: add modulo (%) operator to pgbench
Date
Msg-id alpine.DEB.2.10.1408060826011.24380@sto
Whole thread Raw
In response to Re: add modulo (%) operator to pgbench  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hello Alvaro,

> I wonder if it would be necessary to offer the division operator
> semantics corresponding to whatever additional modulo operator we choose
> to offer.  That is, if we add emod, do we need "ediv" as well?

I would make sense, however I do not need it, and I'm not sure of a use 
case where it would be needed, so I do not think that it is "necessary". 
If it happens to be, it could be added then quite easily.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: add modulo (%) operator to pgbench
Next
From: Fujii Masao
Date:
Subject: Re: pg_receivexlog add synchronous mode