On tis, 2012-06-26 at 07:06 +0200, Pavel Stehule wrote:
> A motivation is integration of possibilities of psql console together
> with stronger language - plpgsql. Second target is enabling
> possibility to save a result of some server side process in psql. It
> improve vars feature in psql.
I think it would be better if DO could be extended into some kind of
"lambda", taking parameters and returning a value. Then you can use
existing infrastructure for passing values and saving the return. It
would also extend better to other languages.