Re: [HACKERS] PL/Lang (was: Priorities for 6.6)

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] PL/Lang (was: Priorities for 6.6)
Дата
Msg-id 375D2CF0.552DFDE4@trust.ee
обсуждение исходный текст
Ответ на Re: [HACKERS] PL/Lang (was: Priorities for 6.6)  (Oleg Broytmann <phd@emerald.netskate.ru>)
Список pgsql-hackers
Oleg Broytmann wrote:
> 
> Hello!
> 
>    VIM can also be compiled with builtin Python interpreter, and I had no
> problem compilng and using vim+python. Python is well known for its
> extending and embedding capabilities. mod_python (it is called PyApache) is
> small and elegant example of how to embed python, but of course it is not
> as powerful as mod_perl (one cannot touch Apache internals from mod_python,
> though author lead PyApache development this way).

Actually abou 1.5 years ago it used to allow access to internals, but 
seemingly nobody used it and so it was thrown out in later versions.

>    Yes, I am biased toward Python, but I cannot say "I recommend embed
> Python to construct PL/Python" - I have no time to lead the development,
> and I doubt there are many pythoners here (D'Arcy?).

I have contemplated it several times, but to be really useful we would 
first need a nice interface for returning "tables" from PL functions.

I suspect this is not something trivial to add ?

With it I could use PL/Python to make all kinds of external objects like
mailboxes
(both local and POP/IMAP/NNTP), conf files (/etc/passwd, pg_hba.conf),
DNS/LDAP/...
queries or any other nice things available through existing python
modules available 
to postgres queries.

-----------------
Hannu


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

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] 6.6 items
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] 6.6 items