pgqr
QR Code generator from PostgreSQL
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pgqr | 1.0 | UTIL | BSD-3-Clause | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4250 | pgqr | No | Yes | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0 | 1817161514 | pgqr | - |
| RPM | PIGSTY | 1.0 | 1817161514 | pgqr_$v | - |
| DEB | PIGSTY | 1.0 | 1817161514 | postgresql-$v-pgqr | - |
Build
You can build the RPM / DEB packages for pgqr using pig build:
Install
You can install pgqr 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
Function
Parameters:
t– text to encode into the QR codecorrection_level– error correction level: 0 to 3model_number– QR model number: 0 to 2scale– pixels per dot (scaling factor)
Example
Generate a QR code as a monochrome bitmap:
The output is a monochrome bitmap image (BMP format) returned as bytea, ready for display or storage.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)