server crhashes when an exception is occure or new error is thrown
What steps will reproduce the problem?
1. create function1 which throw new error in its body
2. create function2 which call the first function like plv8.execute('select * from function1()')
3. execute function2
What is the expected output? What do you see instead?
I want to catch the error with try/catch
What version of the product are you using? On what operating system?
I've recompiled with gcc 4.8.0 for 64-bit as well and the new build I have doesn't seem to exhibit these issues. Unfortunately the libstdc++ seems incompatible with my old 4.5.4 libstd. Anyrate if you were having this problem -- please give this 9.2w64 build a try. I tried with both my EDB 9.2.4 and my mingw 4.8.0 compiled PostgreSQL and seems to work fine and not have this issue. I'll have the 9.3 shortly too.
Tracked: Jun 16, 23:28