asn1oid

asn1oid

asn1oid : asn1oid extension

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3560
asn1oid
asn1oid
1.6
TYPE
GPL-3.0
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d-r
No
Yes
No
Yes
yes
no
Relationships
See Also
pguecc
pgcrypto
prefix
semver
unit
pgpdf
pglite_fusion
md5hash

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXT
MIXED
1.6
18
17
16
15
14
asn1oid-
RPM
PIGSTY
1.6
18
17
16
15
14
asn1oid_$v-
DEB
PGDG
1.6
18
17
16
15
14
postgresql-$v-asn1oid-
Linux / PGPG18PG17PG16PG15PG14
el8.x86_64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
el8.aarch64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
el9.x86_64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
el9.aarch64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
el10.x86_64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
el10.aarch64
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
PIGSTY 1.6
d12.x86_64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
d12.aarch64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
d13.x86_64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
d13.aarch64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
u22.x86_64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
u22.aarch64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
u24.x86_64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
u24.aarch64
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6
PGDG 1.6

Source

pig build pkg asn1oid;		# build rpm

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install asn1oid;		# install via package name, for the active PG version

pig install asn1oid -v 18;   # install for PG 18
pig install asn1oid -v 17;   # install for PG 17
pig install asn1oid -v 16;   # install for PG 16
pig install asn1oid -v 15;   # install for PG 15
pig install asn1oid -v 14;   # install for PG 14

Create this extension with:

CREATE EXTENSION asn1oid;

Usage

asn1oid: ASN.1 OID data type for PostgreSQL

The asn1oid extension provides a data type for storing and comparing ASN.1 Object Identifiers (OIDs).

CREATE EXTENSION asn1oid;

SELECT '1.3.6.1.4.1'::asn1oid;
   asn1oid
─────────────
 1.3.6.1.4.1

Data Type

The asn1oid type stores ASN.1 OID values in dotted-decimal notation (e.g., 1.3.6.1.4.1.311). These are hierarchical identifiers used in SNMP, LDAP, X.509 certificates, and other standards.

Operators

Standard comparison operators are supported for ordering and equality: =, <>, <, >, <=, >=.

Casts

The type supports casting to and from text.

Last updated on