Re: [HACKERS] Embedding scripting
| От | Brian E. Gallew |
|---|---|
| Тема | Re: [HACKERS] Embedding scripting |
| Дата | |
| Msg-id | 4335855615d0bc5dc19620671486596f обсуждение исходный текст |
| Ответ на | [HACKERS] Embedding scripting (bibach@execpc.com) |
| Список | pgsql-hackers |
> Has anyone thought of making use of an embedded scripting package > in PostgreSQL? This would be something along the lines of TCL or > Guile. I'd prefer Python, but that's just me. In any case, this has both good and bad points, and can actually be circumvented. We already have facilities for adding random extensions to the database (e.g. CREATE FUNCTION lang='C'). While I don't know much about Guile, both Tk/Tcl and Python can be embedded almost trivially on systems which support dynamic loading. Of course, for more functionality, you'd need to to also link in libpgtcl (for Tcl) and/or Pygress. This basically just moves things from the front end to the back end. Of course, there will probably be namespace issues and so forth, but it's fairly easy (compared with, say, Vadim's work with indices). BTW, since I'm already here, I'd like to thank Marc, Bruce, Vadim, et al for the great work on this product. I'd hire any of you to work for me (assuming I was in such a position)! ===================================================================== | Please do not shoot at the thermonuclear weapons! -- Deacon | ===================================================================== | Finger geek@andrew.cmu.edu for my public key. | ===================================================================== ------------------------------
В списке pgsql-hackers по дате отправления: