LP#1657237: Properly constrain matview trigger function user/miker/lp-1657237-hold-move-bug
authorMike Rylander <mrylander@gmail.com>
Tue, 17 Jan 2017 19:46:36 +0000 (14:46 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 17 Jan 2017 19:46:36 +0000 (14:46 -0500)
commit8932f73fada0f9bfa605af5d2321f3ba637f83d5
treebc3f72b576ed0a0b0f84e2564ab57c68a4851cc6
parenta724206126de81d98a2ba85210875ba2045f13b6
LP#1657237: Properly constrain matview trigger function

The function maintaining the reporter.hold_request_record table
was performing an unconstrained update when a hold was moved.  This
fixes that.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/reporter-schema.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.hold-move-trigger-bug.sql [new file with mode: 0644]