postgresql-unit
postgresql-unit copied to clipboard
SI Units for PostgreSQL
This merge proposal was created automatically by the [Janitor bot](https://janitor.debian.net/lintian-fixes). For more information, including instructions on how to disable these merge proposals, see https://janitor.debian.net/lintian-fixes. You can follow up to this...
Remove unnecessary constraints. This merge proposal was created automatically by the [Janitor bot](https://janitor.debian.net/scrub-obsolete). For more information, including instructions on how to disable these merge proposals, see https://janitor.debian.net/scrub-obsolete. You can follow...
This is an idea to allow fractional dimension units that are powers of 1/2 or 1/4. We use the same amount of storage and just shift all the unit definitions...
I saw in the documentation that you mentioned that currencies were an omission. Would it be possible to support currencies with the caveat that they're only as up-to-date as the...
Thank you for your unique repo. ### Problem: In my app I need to output degree for any given angle as this is what users understand. It is hard to...
Add support for RF units, and conversion between them. Such as: Vpeak = Peak Voltage of an AC signal. Vrms: [Vpeak/sqrt(2)] = Root Mean Square Voltage. uV: [Vrms * 10^-6]...
Hello. I'm using this extension on a daily basis, but I've not found documentation or examples on this use case When retrieving a unit from the database, I want the...
Hey there, I added an easy docker approach for testing your extension.
Right now, the only working way to convert a `double precision` value you know the unit of into a value of the type `unit` is `concat(23.5, '°C')::unit` which is a...
It looks like this addition is missing an overflow check: https://github.com/ChristophBerg/postgresql-unit/blob/cf6728e3773e1ff4a1c67f850aa44338405abafe/unit.h#L116 Multiplying values with very high exponents could result in undefined behavior.