base36
Integer Base36 types
Repository
adjust/pg-base36
https://github.com/adjust/pg-base36
Source
pg-base36-1.0.0.tar.gz
pg-base36-1.0.0.tar.gz
Overview
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4800 | base36 | No | Yes | No | Yes | No | No | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0.0 | 1817161514 | pg_base36 | - |
| RPM | PIGSTY | 1.0.0 | 1817161514 | pg_base36_$v | - |
| DEB | PIGSTY | 1.0.0 | 1817161514 | postgresql-$v-base36 | - |
Build
You can build the RPM / DEB packages for pg_base36 using pig build:
Install
You can install pg_base36 directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
Provides data types for encoding and decoding values using the base36 scheme, with conversion between base36 and integer types.
Types
| Type | Storage | Max String Length | Max Numeric Value |
|---|---|---|---|
base36 | 4 bytes (int) | 6 characters | 2,147,483,647 |
bigbase36 | 8 bytes (bigint) | 13 characters | 9,223,372,036,854,775,807 |
Examples
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)