pg_ethopic
pg_ethopic · Format Ethiopic dates and numbers in PostgreSQL.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100827 | pg_ethopic | pg_ethopic | 0.0.1 | FUNC | MIT | Rust |
PostgreSQL · 13, 14, 15, 16, 17
Usage
Sources:
pg_ethopic formats PostgreSQL dates in the Ethiopic calendar and integers with Ethiopic numerals.
The custom date template supports the fields implemented by the upstream Rust library; validate templates and expected calendar boundaries with domain examples. Results are formatted text, not a distinct calendar-aware date type, so retain the original PostgreSQL date for sorting and arithmetic.
Version 0.0.1 is an early pgrx extension. The README provides container images for PostgreSQL 13–17, while Cargo also defines a PostgreSQL 12 feature. Test conversion results, negative and large numbers, locale-independent output, and upgrades before using formatted values in exported records or legal documents.