Re: Nice to have features: Percentage function

From: Ron Ben <ronb910(at)walla(dot)co(dot)il>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Michael Nolan <htfoot(at)gmail(dot)com>, Melvin Davidson <melvin6925(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Nice to have features: Percentage function
Date: 2017-04-17 15:03:14
Message-ID: ~00258F4D932322D36000DAB@walla.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<div><div dir="rtl"><div>Hi,<br><br></div>
<div>I know I can solve my issue localy but I think that percentage manipulation is commonly used by many users and while it's true that each one can create his own solution localy it would be nice if postgresql would have build in functions for that.</div>
<div>&nbsp;</div>
<div>percentagee manipulation is a core fuctionality.</div>
<div>It would be nice to see it listed here:</div>
<div>https://www.postgresql.org/docs/9.5/static/functions-math.html</div></div><section class="cust_msg_end"></section><blockquote style="margin:0;margin-bottom:20px;border-top:1px solid #e0e0e0;"><br>ב אפר׳ 17, 2017 0:47, Adrian Klaver כתב:<blockquote style="margin:0;margin-bottom:20px;border-top:1px solid #e0e0e0">On 04/16/2017 02:33 PM, Michael Nolan wrote:<br>&gt; I also have some pre-defined percentage functions, they check the<br>&gt; denominator and return null if it is zero, to avoid 'divide by zero'<br>&gt; errors.<br><br>Are they available somewhere?<br><br>My previous examples where more proof of concept then complete.<br><br><br>&gt; --<br>&gt; Mike Nolan<br>&gt;<br><br><br>-- <br>Adrian Klaver<br>adrian(dot)klaver(at)aklaver(dot)com<br><br><br>-- <br>Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)<br>To make changes to your subscription:<br><a href="http://www.postgresql.org/mailpref/pgsql-general">http://www.postgresql.org/mailpref/pgsql-general</a><br><br><br></blockquote></blockquote><br></div>

Attachment Content-Type Size
unknown_filename text/html 1.4 KB

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-04-17 15:21:44 Re: Clone PostgreSQL schema
Previous Message Melvin Davidson 2017-04-17 15:02:02 Re: Clone PostgreSQL schema