Re: [PATCH] plpythonu datatype conversion improvements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] plpythonu datatype conversion improvements
Дата
Msg-id 965.1250521932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] plpythonu datatype conversion improvements  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [PATCH] plpythonu datatype conversion improvements  (Caleb Welton <cwelton@greenplum.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 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.

There's been some discussion about functional improvements like
translating arrays to arrays.  I don't know what we'd have to do
to manage that, but possibly some API extensions to the array code
would make it feasible without violating abstractions.  The present
patch, however, doesn't appear to have any reason to live other than an
undocumented amount of performance improvement.  My feeling about that
is if you're concerned about micro-performance, why are you coding in
python to begin with?  It isn't the best choice out there.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [PATCH] plpythonu datatype conversion improvements
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CommitFest 2009-07: Remaining Patches Moved To CommitFest 2009-09