> I would like to print content of variables - and now, I have to go some > deeper than I would like. I need to separate between scalar, row, and > record variables. PLpgSQL has code for it - but it is private. > [...]
The patch seems OK, but I wonder - would it be possible to write a test on it?
Sure, it is possible - unfortunately - the size of this test will be significantly bigger than patch self.
I'll try to write it some simply tracer, where this API can be used