Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

improvement: possibility to call other lua functions directly? #47

Open
bjne opened this issue May 19, 2017 · 2 comments
Open

improvement: possibility to call other lua functions directly? #47

bjne opened this issue May 19, 2017 · 2 comments

Comments

@bjne
Copy link

bjne commented May 19, 2017

It would be a really nice feature if lua functions could be stored in a global table, so
I could access them directly (not through query)

example:

create or replace function get_foo(r somerowtype)
returns text as $$
    return "foo"
$$ language pllua;

create or replace function get_foobar(r somerowtype)
returns text as $$
  return get_foo(r).."bar"
$$ language pllua;
@eugwne
Copy link
Member

eugwne commented May 19, 2017

see pgfunctest.sql, maybe this what you need

@bjne
Copy link
Author

bjne commented May 19, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants