gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] verify_x_db_fks.py


From: Karsten Hilbert
Subject: [Gnumed-devel] verify_x_db_fks.py
Date: Sun, 17 Aug 2003 20:21:26 +0200
User-agent: Mutt/1.3.22.1i

This script has been added to CVS. It is intended to be run
from cron every so often. It checks the cross-database
"foreign key" dependancies and logs keys violating referential
integrity in the table x_db_fk_violation in the service
containg the offending key.

It's the admin's job to deal with the resulting violation
reports. A view v_x_db_fk_violation has been added for your
convenience as well as a function log_x_db_fk_violation()
[which is of no concern to normal users/admins, however].

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]