Re: pseudo-type record arguments for PL-functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pseudo-type record arguments for PL-functions
Date
Msg-id 11149.1146762159@sss.pgh.pa.us
Whole thread Raw
In response to pseudo-type record arguments for PL-functions  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: pseudo-type record arguments for PL-functions
List pgsql-hackers
Markus Schiltknecht <markus@bluegap.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Semi-undocumented functions in libpq
Next
From: "Jim C. Nasby"
Date:
Subject: Re: patch review, please: Autovacuum/Vacuum times via stats.