[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] re: add_name
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] re: add_name |
Date: |
Sun, 23 Nov 2003 02:08:36 +0100 |
User-agent: |
Mutt/1.3.22.1i |
> The add_name with the activate parameter is a good idea, but why is it a
> sql function?
Because you raised the excellent point that we should avoid
moving functionality from the backend into the frontend.
Having an SQL function add_name() facilitates different client
(types) doing the Right Thing. In fact, it's also more
convenient to code the internal logic in plpgsql than in
Python, believe it or not.
> Does it work on your system?
Why of course ! :-) (at least with the minimal testing I
did)
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346