On 4 Apr 2016 10:20 pm, "Abdul Hakeem" <[email protected]> wrote:
>
> Hello Experts,
> Can anyone recommend how to run Luvit codes within Postgres via PL/Lua,
similar to running NodeJS codes within Postgres via PgREST.
> What I am looking to achieve is to access  PG triggers and functions and
also possibly call them via REST/Websockets.
> Cheers,
> AH
>
> --
> You received this message because you are subscribed to the Google Groups
"luvit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

Pl /lua and pgrest do entirely different things.
Pl/lua let's you run lua **inside** of postgres for use in triggers etc.
Pgrest exposes a mongo-like http api that's backed by a postgres database.

What you probably want is a postgres client.
Look for luapgsql, cqueues-pgsql is be a non-blocking variant; or pgmoon.

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to