redis_fdw
Foreign data wrapper for querying a Redis server
Repository
pg-redis-fdw/redis_fdw
https://github.com/pg-redis-fdw/redis_fdw
Source
redis_fdw-1.0.tar.gz
redis_fdw-1.0.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
redis_fdw | 1.0 | FDW | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 8710 | redis_fdw | No | Yes | No | Yes | No | Yes | - |
| Related | pgmq redis pgmb pgmemcache ulak pgq tcn pgmqtt mongo_fdw pg_durable |
|---|
multiple branch for different pg major versions
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0 | 1817161514 | redis_fdw | - |
| RPM | PIGSTY | 1.0 | 1817161514 | redis_fdw_$v | - |
| DEB | PIGSTY | 1.0 | 1817161514 | postgresql-$v-redis-fdw | - |
Build
You can build the RPM / DEB packages for redis_fdw using pig build:
Install
You can install redis_fdw 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
Create Server
Server Options: address (default 127.0.0.1), port (default 6379).
Create User Mapping
Scalar Key-Value Pairs
Hash Tables (with Key Prefix)
Hash Tables (Singleton Key)
Table Options
| Option | Description |
|---|---|
database | Redis database number (default 0) |
tabletype | hash, list, set, or zset (omit for scalar key-value) |
tablekeyprefix | Filter items by key prefix |
tablekeyset | Fetch keys from a specific Redis set |
singleton_key | Access all values from a single Redis key |
Use only one of tablekeyset or tablekeyprefix. Do not combine them with singleton_key.
Hash values are returned as alternating key-value pairs in a text[] array. Lists, sets, and sorted sets also return values as arrays.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)