LP#1768141 - Mark permission.grp_descendants STABLE.
authorChris Sharp <csharp@georgialibraries.org>
Mon, 20 May 2019 20:14:00 +0000 (16:14 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 2 Aug 2019 14:41:01 +0000 (10:41 -0400)
commitefc0a8610f0d3189695be6152622c066f130c624
treef1c74d63dc1b35ed43957f04496e35601e51b9d4
parentd5053483e2fe20c5d5273930a62993d3aa9e9179
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.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]