Re: pseudo-type record arguments for PL-functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pseudo-type record arguments for PL-functions
Date: 2006-05-04 17:02:39
Message-ID: 11149.1146762159@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-05-04 17:05:13 Re: patch review, please: Autovacuum/Vacuum times via stats.
Previous Message Tom Lane 2006-05-04 16:47:39 Re: Semi-undocumented functions in libpq