[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Easy database installer
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Easy database installer |
Date: |
Mon, 12 Jul 2004 14:47:20 +0200 |
User-agent: |
Mutt/1.3.22.1i |
> > > I have written a script which wraps the installation of the GNUMed
> > > database.
> > > Go to http://gnumed.net/~ihaywood/ and try it out.
> > I really like that you reused the code in
> > bootstrap-gm_db_system.py by importing it. That is how I
> > intended it to be used.
> I had to hack it into shape a little bit: you can't have a "-" in a module
> name,
> and it has to raise BootstrapErrors so the calling code can display
> meaningful error
> messages. Is it acceptable to fold these changes back into the main tree?
Of course, be my guest !! :-)
> > Last time I tried the pyPgSQL people didn't even react to
> > clearly documented patches posted on their list.
> Take a look at the documented postgresql wire protocol:
> http://www.postgresql.org/docs/7.4/static/protocol.html
> I agree with Horst, this doesn't look too hard.
> I'm not sure how much of a speed penalty a pure Python module would impose,
> given most of the work is converting datastructures from C to Python, which
> the
> existing libraries have to do anyway.
While surely tempting I shall resist :-))
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346