Teach maintain_901 trigger to respect the "Use record ID for TCN" global flag
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 03:31:01 +0000 (03:31 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 03:31:01 +0000 (03:31 +0000)
commit4e4fde30410e18d5dacfd062e6e0d8f1f988da86
tree0ed8019d0850d7c3b3ab31e7c4c5abd894125a88
parent855829f29757076f95e9ca46daf6af660cb873fd
Teach maintain_901 trigger to respect the "Use record ID for TCN" global flag

Rather than relying on the Perl layer to set the correct TCN on the way in,
do it as part of the in-database indexing to ensure that we have consistent
results no matter how the record gets into the database.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@19460 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/002.functions.config.sql
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0488.function.maintain_901_tcn.sql [new file with mode: 0644]