Extensions / Functions and aggregates
C function that calculates a price markup percentage by linear interpolation over a numeric price/markup array.
pgext.cloud · Source code · Documentation · Control file
| Package | calculate_markup |
|---|---|
| Version | 1.0 |
| Repository | Unspecified |
| Extension type | Standard |
| Project status | Archived |
| Requires CREATE EXTENSION | Yes |
| Requires preload | No |
| Trusted | No |
| Relocatable | No |
| Schema | price_modifiers |
| Stars | 4 |
| Latest commit | 2018-03-29 |
| Catalogue updated | 2026-08-30 |
| numpgsql | Array and numerical computing library for PostgreSQL |
| sum_array | C function that sums PostgreSQL integer and floating-point arrays into float8. |
| jsonb_deep_sum | Recursively sum numeric fields in JSONB objects |
| formatbase | C functions to format numbers and parse strings by numeric base. |
| uints | C extension providing unsigned 16-bit and 32-bit integer types with casts, operators, and numeric support functions. |
| numhstore | Adds inthstore and floathstore numeric hstore types and helpers |
| numeric_domains | Custom numeric domains for PostgreSQL |
| weighted_mean | Weighted average aggregate function for PostgreSQL numeric values. |