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

From: Hannu Krosing <hannu(at)trust(dot)ee>
To: phd2(at)earthling(dot)net
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] PL/Lang (was: Priorities for 6.6)
Date: 1999-06-08 14:47:12
Message-ID: 375D2CF0.552DFDE4@trust.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-06-08 15:40:18 Re: [HACKERS] Problem when reloading data from older version
Previous Message Don Baccus 1999-06-08 14:32:41 Re: [HACKERS] 6.6 items