LP#1768141 - Mark permission.grp_descendants STABLE. user/csharp/lp1768141_mark_perm_grp_descendants_func_stable
authorChris Sharp <csharp@georgialibraries.org>
Mon, 20 May 2019 20:14:00 +0000 (16:14 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 20 May 2019 20:14:00 +0000 (16:14 -0400)
commit6c9280a56f6d25b4145e553494baeb171d1bb200
tree9b5ee99f9068627286099121943f49089ee55b9a
parent36e6e00f69c7159eabccc77dc205a0e5c3240c52
LP#1768141 - Mark permission.grp_descendants STABLE.

Quoting Galen Charlton's comments on the bug report:

The database function permission.grp_descendants should
be marked stable; it qualifies, and doing so should allow
PostgreSQL to improve query plans. One example of a query
that would benefit is searching by patron profile (a la
bug 1497322)

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/sql/Pg/006.schema.permissions.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.mark_perm_grp_descendants_stable.sql [new file with mode: 0644]