|
|
|
|
|
by fulafel
1317 days ago
|
|
PG ships with Lua support: https://www.postgresql.org/docs/current/external-pl.html (Also Python, Javascript, and Java) I don't know specifics about the API coverage. It seems this extension mostly just implements new SQL visible functions and data types, which should be doable from those languages as well. Composite types might have to be defined as PG records (or json) instead of C level new PG object types. |
|
You cannot though write a new storage engine, a new kind of index, or something else that takes an extension.