Markus Schiltknecht <markus(at)bluegap(dot)ch> writes:
> What exactly are pseudo types?
See
http://developer.postgresql.org/docs/postgres/extend-type-system.html
> Why can PLs not handle pseudo-types?
No one's done the work to figure out which ones are sensible to support
and then add the logic needed to support them.
In your particular case, the problem is that plpython isn't prepared to
handle rowtypes determined at runtime. I'm not sure if the recently
submitted plpython patch fixes that or not.
regards, tom lane