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:28:50 +0000 (03:28 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 17 Feb 2011 03:28:50 +0000 (03:28 +0000)
commitbae90d7ba8fb390e9f1df398da4f3326685a8555
tree41275f63798ee730d1aee93a9afbfca960b1c021
parent181420f37dc18b66601e380f0b7e1120c4790080
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_1@19459 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]