Comment 12 for bug 1066888

Revision history for this message
Dan Scott (denials) wrote :

Added two more commits:

1) Enable the French bibs to get assets, as populate_callnumber() didn't understand that a quoted value should be interpreted as a TEXT parm. Okay. Could have casted the parms, I guess, but I just added a NULL parm to invoke the 4-arg version instead. (Note: there's a chance I introduced the problem myself by adding the explicitly 3-parm variant of evergreen.populate_callnumber(); more testing would bear this out).

2) More interesting: address the inconvenience I was whining about in the previous comment by teaching eg_db_config.pl to load the sample datasets, using the --load-all-sample / --load-concerto-sample arguments. I *think* deploying to a remote PostgreSQL server will fail due to the "\i " psql commands, but I could be wrong - don't have a setup to test with at the moment. In any case, I've documented it as only working with a local PostgreSQL server. This should make setting up a reproducible testing scenario much simpler: invoke "eg_db_config.pl --create-database --create-schema --load-all" and Bob's your uncle.