hstore_pllua
Hstore transform for Lua
pllua : Hstore transform for Lua
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3021 | hstore_pllua | pllua | 2.0.12 |
LANG | MIT | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| Requires | hstore pllua |
| See Also | hstore hstore_plpython3u hstore_plperl hstore_plperlu |
| Siblings | pllua plluau hstore_plluau |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | MIXED | 2.0.12 |
18 17 16 15 14 | pllua |
hstore, pllua |
| RPM | PIGSTY | 2.0.12 |
18 17 16 15 14 | pllua_$v |
- |
| DEB | PGDG | 2.0.12 |
18 17 16 15 14 | postgresql-$v-pllua |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| el8.aarch64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| el9.x86_64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| el9.aarch64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| el10.x86_64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| el10.aarch64 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 | PIGSTY 2.0.12 |
| d12.x86_64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| d12.aarch64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| d13.x86_64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| d13.aarch64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u22.x86_64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u22.aarch64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u24.x86_64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u24.aarch64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u26.x86_64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
| u26.aarch64 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 | PGDG 2.0.12 |
Source
github.com/pllua/pllua
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The hstore_pllua extension provides a transform that allows hstore values to be passed directly to and from PL/Lua functions as native Lua tables, instead of opaque datum objects.
Using hstore in PL/Lua
With the transform installed, hstore arguments are automatically converted to Lua tables, and Lua tables can be returned as hstore values:
Iterate Over hstore Keys
Without this transform, hstore values would need to be manually converted using the hstore type functions.