Do anyone here use Python *embedded* in a database?
J.Fine at open.ac.uk
Wed Aug 5 18:03:13 CEST 2009
Jon Clements wrote:
> On 5 Aug, 13:17, Jonathan Fine <jf... at pytex.org> wrote:
>> I'm writing a talk that compares embed and extend, and wondered if
>> anyone here ever used the Python *embedded* in a database server.
>> Web frameworks (such as Django) use extend, to import an extension
>> module that makes a connection to a database.
>> If you have used embed, you might have consulted a page such as:
> Yup, have used plpythonu within postgres without too many problems.
> Although I do recall once that using the CSV module to load and filter
> external data, did consume a massive amount of memory. Even though the
> entire procedure was iterator based -- never did work out if it was
> postgres caching, or some other weird stuff. [That was about 2 years
> ago though]
Thanks, Jon, for that.
More information about the Python-list