Re: [HACKERS] proposal: extensible plpgsql executor - related to assertions

2014-01-04 Thread Pavel Stehule
2014/1/4 Tom Lane > Pavel Stehule writes: > > I propose a enhance the PLpgSQL_plugin struct by a new hook > > void (*pragma)(PLpgSQL_execstate *estate, PLpgSQL_pragma > > *pragma_stmt) > > I repeat what I said a couple of days ago: it's a very bad idea to be > enabling more plpgsql plugin

Re: [HACKERS] proposal: extensible plpgsql executor - related to assertions

2014-01-04 Thread Tom Lane
Pavel Stehule writes: > I propose a enhance the PLpgSQL_plugin struct by a new hook > void (*pragma)(PLpgSQL_execstate *estate, PLpgSQL_pragma > *pragma_stmt) I repeat what I said a couple of days ago: it's a very bad idea to be enabling more plpgsql plugins as long as the infrastructure c

[HACKERS] proposal: extensible plpgsql executor - related to assertions

2014-01-04 Thread Pavel Stehule
Hello I am thinking how to implement a assertions and tracking to plpgsql. This area is not strict and clear - everybody would little bit different functionality - and implementation can be different if someone use a psql as main client or some GUI. So I am sceptical to implement assertion directl