debversion
Debian version number data type
debversion : Debian version number data type
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3820 | debversion | debversion | 1.2.0 |
TYPE | PostgreSQL | SQL |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | semver pg_text_semver |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PGDG | 1.2.0 |
18 17 16 15 14 | debversion |
- |
| DEB | PGDG | 1.2.0 |
18 17 16 15 14 | postgresql-$v-debversion |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | N/A | N/A | N/A | N/A |
| el8.aarch64 | N/A | N/A | N/A | N/A | N/A |
| el9.x86_64 | N/A | N/A | N/A | N/A | N/A |
| el9.aarch64 | N/A | N/A | N/A | N/A | N/A |
| el10.x86_64 | N/A | N/A | N/A | N/A | N/A |
| el10.aarch64 | N/A | N/A | N/A | N/A | N/A |
| d12.x86_64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| d12.aarch64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| d13.x86_64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| d13.aarch64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u22.x86_64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u22.aarch64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u24.x86_64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u24.aarch64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u26.x86_64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u26.aarch64 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
Source
github.com/ATIX-AG/postgresql-debversion-evr
Install
Make sure PGDG repo available:
Install this extension with pig:
Create this extension with:
Usage
The debversion extension provides Debian package version comparison functionality, implementing the same sorting logic used by dpkg.
Data Type
The debversion type stores Debian package version strings and compares them according to the Debian versioning specification (epoch:upstream-revision format).
Version Comparison
Operators
Standard comparison operators are supported: =, <>, <, >, <=, >=.
The comparison algorithm mirrors dpkg --compare-versions, ensuring results identical to standard Debian package management utilities.