LP#1155329: better enforce cat.bib.use_id_for_tcn
authorGalen Charlton <gmc@esilibrary.com>
Thu, 14 Mar 2013 21:17:54 +0000 (17:17 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 15 Mar 2013 14:13:09 +0000 (10:13 -0400)
commit7ea1d71af1711081196a8fd6a0a0f8e7877c8878
tree430ed152194cb23f99c7225fb787feadd14597b1
parent4dee803ca182714c7bfd9f3cc82b8976c48fea38
LP#1155329: better enforce cat.bib.use_id_for_tcn

Restore previous behavior to the maintain_901() trigger
function so that bib records that are loaded without
explicitly setting the TCN have it set to the bib ID
when the cat.bib.use_id_for_tcn global flag is set, rather
than 'AUTOGENERATED-xxx'.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/002.functions.config.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.enforce_use_id_for_tcn.sql [new file with mode: 0644]