currency
Custom PostgreSQL currency type in 1Byte
pg_currency : Custom PostgreSQL currency type in 1Byte
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3680 | currency | pg_currency | 0.0.6 |
TYPE | MIT | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| Requires | plpgsql |
| See Also | financial pg_accumulator omni_ledger country isn pg_xenophile icu_ext pg_money |
Packages
| Linux / PG | PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| el8.aarch64 | N/A | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| el9.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| el9.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| el10.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| el10.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| d12.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| d12.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| d13.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| d13.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u22.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u22.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u24.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u24.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u26.x86_64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
| u26.aarch64 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 | PIGSTY 0.0.6 |
Source
github.com/adjust/pg-currency
pg-currency-0.0.6+git20261006.6c91875.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The currency extension provides a data type for ISO 4217 currency codes using only a single byte of storage per value.
Operators
Standard comparison operators are supported: =, <>, <, >, <=, >=.
B-tree index support is included for efficient ordering and lookups.