LP#1155329: better enforce cat.bib.use_id_for_tcn user/gmcharlt/lp1155329_tcn_value_forcing
authorGalen Charlton <gmc@esilibrary.com>
Thu, 14 Mar 2013 21:17:54 +0000 (17:17 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 14 Mar 2013 21:17:54 +0000 (17:17 -0400)
commit5df5fcc4b3ed12928e4575ecf3d7dd26f59f808d
tree3fd277ed36e5aca7c5d8c5c346ec7aae7a323405
parentd4f6bf89576e470f16214f5848b0782e4bec8573
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>
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]