3 SELECT evergreen.upgrade_deps_block_check('0675', :eg_version);
5 -- set expected row count to low value to avoid problem
6 -- where use of this function by the circ tagging feature
7 -- results in full scans of asset.call_number
8 CREATE OR REPLACE FUNCTION action.usr_visible_circ_copies( INTEGER ) RETURNS SETOF BIGINT AS $$
9 SELECT DISTINCT(target_copy) FROM action.usr_visible_circs($1)
10 $$ LANGUAGE SQL ROWS 10;