Re: plpython3
От | James William Pye |
---|---|
Тема | Re: plpython3 |
Дата | |
Msg-id | E6B83029-D0FB-464D-9460-C2A07EA5A7C1@jwp.name обсуждение исходный текст |
Ответ на | Re: plpython3 (Greg Smith <greg@2ndquadrant.com>) |
Ответы |
Re: plpython3
Re: plpython3 Re: plpython3 |
Список | pgsql-hackers |
On Jan 14, 2010, at 12:17 AM, Greg Smith wrote: > Code samples. Okay. > I don't know, because even with several thousand lines of basic Python code to my credit I cannot understand a single oneof the arguments you presented for why your implementation is better--except agreeing that, yes, tracebacks are useful > And even on that one, I'm not going to take your word on the superiority of your implementation. Sure, that's what review is about. No? > You're writing way over people's heads here. Okay. I guess I hoped the documentation would help clarify a lot of this, and make the advantages self-evident. On that: > (Doesn't help that your docs link at the bottom of http://wiki.postgresql.org/wiki/WIP:plpython3 is broken either). Ouch. Thanks, that's fixed now. Please take a look again: http://python.projects.postgresql.org/pldocs/plpython3.html > If one has to be a Python expert to understand your position, you've already lost. Function modules should be pretty obvious. "native typing" is a bit more difficult as a solid understanding of PG's typesystem is fairly important for a firm grasp. > Python code is easy to read though. If you'd said "here's a great example of how Function Modules are an improvement overwhat you can do with the current pl/python," that would be infinitely more useful than the list of language trivia relatedto them. You should be aiming to put Peter on the spot to respond to claims you make like "you can't do this easilywith the current implementation" after showing an elegant bit of code. Okay. So, some examples would help. The documentation is back up, so please be sure to look at the numerous examples providedtherein. In addition to that, I'll try to get some contrasting examples posted as a follow-up to an earlier message."In plpython you do X whereas in plpython3 you do Y." Thanks.
В списке pgsql-hackers по дате отправления: