Re: [HACKERS] an idea, language SPI

2009-01-05 Thread Pavel Stehule
2009/1/5 Tom Lane : > "Pavel Stehule" writes: >> I am thinking about reimplementation PL/pgPSM, where code should be >> shared with PL/pgSQL. I have idea of some middle language, that should >> be used for both languages. This language could be based on SPI >> interface with some procedural elemen

Re: [HACKERS] an idea, language SPI

2009-01-05 Thread Tom Lane
"Pavel Stehule" writes: > I am thinking about reimplementation PL/pgPSM, where code should be > shared with PL/pgSQL. I have idea of some middle language, that should > be used for both languages. This language could be based on SPI > interface with some procedural elements (if, jmp, return). You

[HACKERS] an idea, language SPI

2009-01-05 Thread Pavel Stehule
Hello, I am thinking about reimplementation PL/pgPSM, where code should be shared with PL/pgSQL. I have idea of some middle language, that should be used for both languages. This language could be based on SPI interface with some procedural elements (if, jmp, return). sample create or replace fu