Re: plpython3

Поиск
Список
Период
Сортировка
От James William Pye
Тема Re: plpython3
Дата
Msg-id 87A233FA-7B98-448C-BDAC-121CA4EACC43@jwp.name
обсуждение исходный текст
Ответ на Re: plpython3  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Jan 13, 2010, at 12:15 PM, Robert Haas wrote:
> 1. It's not just a rewrite, it's an incompatible rewrite that will
> present significant user-visible behavioral differences.  So replacing
> the current implementation wholesale would produce massive breakage
> for anyone actually using PL/python in production.

Right. That was the point of trying to leverage Python 3 to make the distinction. Most people will need to update their
functionsif they are moving to Python 3. And for the larger chunks of code, the hard stuff, the amount of change
requiredis likely significant already. 

<snip some>
> Given these two facts, it's hard for me to see how we could decide to
> REMOVE the current implementation and replace it with the new one.  So
> the most we could do is maintain them side by side, and then you have
> to ask, why?

My original hope was that plpython would be maintained for several years to come and when Python 3 started picking up
steam,we would deprecate plpython. If people still wanted to use it, they could continue using the older version of PG
and/orsomeone could continue to maintain plpython out of core for legacy support. 


<snip/maintaining out of core>
> Sure, his code won't get as much exposure that way,

=)

Try next to none. The existence of core's implementation makes competing *very* difficult, IMO. Thinking of something
alongthe lines: "Why would I use/contribute to your implementation when core has one?" And, all I can say in response
is,"Check out my features." Subsequently, they will probably weigh the added risk of choosing the loner's
implementationand come to the conclusion that using core's would be safer in the long term. I can't fault that line of
reasoning,so ISTM that it would be difficult to "sell". 


> but it's been posted to the mailing list several times now
> over a period of 8 months and nobody has said "oh, wow, this is
> great".

Yeah. :(

In the past, one person showed interest in function modules(Stuart, see the first WIP message), and two others showed
interestin native typing(Nathan and Tino). Mr. Drake has also shown some interest in this thread. 

But, yes, you are correct. There has been no "wow, this is great" message.

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: plpython3
Следующее
От: Takahiro Itagaki
Дата:
Сообщение: Re: Pretty printed trigger in psql