Re: [PATCH] plpythonu datatype conversion improvements
| От | Andrew Dunstan |
|---|---|
| Тема | Re: [PATCH] plpythonu datatype conversion improvements |
| Дата | |
| Msg-id | 4A897162.5020807@dunslane.net обсуждение |
| Ответ на | Re: [PATCH] plpythonu datatype conversion improvements (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [PATCH] plpythonu datatype conversion improvements
|
| Список | pgsql-hackers |
Tom Lane wrote: > > For the record, I think this entire patch is a bad idea. PLs should not > be so much in bed with the internal representation of datatypes. > I thought there was some suggestion in the past that we should move some in that direction. The discussion context was Theo Schlossnagle's complaint about the overhead of passing bytea to and from PLPerl, although that might be ameliorated by the hex gadget. The other major case that would benefit would be passing Array values as the PL's native array type, and Composite values as the PL's associative array type. That would save PL users a lot of highly error-prone coding deconstructing the text representation of such objects. cheers andrew
В списке pgsql-hackers по дате отправления: