python-postgres / be

pg-python: Execute Python 3 code from PostgreSQL functions.
Other
5 stars 2 forks source link

Inaccessible Polymorphed I/O types #2

Open jwp opened 14 years ago

jwp commented 14 years ago

For all functions, the func.input represents the pg_proc entry's proargtypes, etc. When the function is polymorphic, the actual input and output is determined when invoked.

While the function's arguments can provide the type information, if NULL is passed in, it is no longer available as the object is None.

Additionally, if the function is using @pytypes, an alternative method for resolving the polymorphed types would be desirable.