Wiki editor request

From: Marco Glauser <postgresql(at)mglauser(dot)ch>
To: pgsql-www(at)postgresql(dot)org
Subject: Wiki editor request
Date: 2021-09-17 14:42:51
Message-ID: 8e8d9352-f8cb-be4d-171d-94d8d8eed35c@mglauser.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Hi,

I would like editor access to the wiki, my username is mglauser and I
would like to modify https://wiki.postgresql.org/wiki/Luhn_algorithm.

The current snippet uses

ceil(log( $1 ))::integer - 1

which calculates the wrong number of digits for numbers like 1, 10,
1000, ...
I would propose to change it to

floor(log( $1 ))::integer

regards
Marco

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Jacob Champion 2021-09-17 15:48:25 Re: Publishing 14 source snapshots?
Previous Message Tom Lane 2021-09-17 13:24:28 Re: Publishing 14 source snapshots?