df7cb / postgresql-unit

SI Units for PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Unit prefixes

0xflotus opened this issue · comments

The Wikipedia site of the metric prefixes shows new unit prefixes:

Name Symbol Base 10
quetta Q 1e30
ronna R 1e27
ronto r 1e-27
quecto q 1e-30

It was adopted by BIPM in 2022

What do you think? Should this prefixes be implemented?

I had seen the announcement, but haven't had the time yet to add them. Will do so shortly, thanks for the reminder!

Any news on this?
Is it an easy task to add the new prefixes or is it complicated?
I saw a unit_prefixes.data file. Is this file related to the addition?

unit_prefixes.data is one of the bits that needs changing, but it also needs C code adjustments. Stay tuned.