Also Sprach Damon Torgerson <da...@ra...> on Fri, Mar 08, 2002 at 11:=
01:38AM PST
> Hmmmmmm....
>=20
> This thread is getting a little off course.
>=20
> My question pretty much has a yes or no answer. Are the database constra=
ints (foreign keys, check,=20
> etc) handled by the database or by the perl code?
>=20
> Thank you all very much for your help,
Maybe it's a matter of RTFS? :)
Looking over sql-ledger/sql/Pg-tables.sql, I don't actually see a
lot of integrity rules; in fact, I don't even see any primary keys,
although there might be defaults that I don't know about.
Hm, this is interesting. 'id' is a single sequence, that most
of the tables use for their 'id' field. If I'm not mistaken,
this means none of the table ids will be internally contiguous,
because the id sequence will increment for every table update.
Wil
--=20
W. Reilly Cooley wc...@na...
Naked Ape Consulting http://nakedape.cc
irc.linux.com #orlug,#lnxs
The penalty for laughing in a courtroom is six months in jail; if it
were not for this penalty, the jury would never hear the evidence.
-- H. L. Mencken
|