Slythe & Database PL initialization
James William Pye
pgsql at jwp.name
Sun May 28 20:06:39 UTC 2006
Greets,
For Slythe 0.2(the remote console), I'm thinking about implementing a convenient
way to initialize the PL inside a database. Much like what createlang does
for the standard PLs. I've been wanting to do something like this, but I never
wanted to spawn a completely new script that hangs around for that sole purpose,
which is why I want to spin this capability into the 'pg_python' command as it
seems like it might fit.
[While the remote console is still in mind]
Slythe currently creates the necessary functions for operation at connection
time, and subsequently drops those functions at disconnect. I did this as I've
always hated seeing "droppings" from other applications. However, I think the
extra round trip and function creation have a price that tends to be a nuisance,
so I'm considering making a permanent spot for these function[s] in pg_catalog
or a "python-teop" namespace.
Thoughts?
More information about the Python-general
mailing list