[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 1566db97d03d7662d606e5b982b523ccd7db3e3a

Evergreen Git git at git.evergreen-ils.org
Fri Nov 17 15:40:22 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_0 has been updated
       via  1566db97d03d7662d606e5b982b523ccd7db3e3a (commit)
      from  32106cae037a5150fa0a66b2349c1558cbb7936c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1566db97d03d7662d606e5b982b523ccd7db3e3a
Author: Jeff Godin <jgodin at tadl.org>
Date:   Tue Nov 7 16:29:03 2017 -0500

    LP#1671150 Document unaccented name index fix
    
    Release notes for evergreen.unaccent_and_squash function (and
    dependent indexes) fix.
    
    Signed-off-by: Jeff Godin <jgodin at tadl.org>
    Signed-off-by: Jason Stephenson <jason at sigio.com>

diff --git a/docs/RELEASE_NOTES_NEXT/patron_name_username_index_fixes.adoc b/docs/RELEASE_NOTES_NEXT/patron_name_username_index_fixes.adoc
new file mode 100644
index 0000000..0657a05
--- /dev/null
+++ b/docs/RELEASE_NOTES_NEXT/patron_name_username_index_fixes.adoc
@@ -0,0 +1,27 @@
+Fixes to patron name/username search indexes
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+When using pg_restore to restore an Evergreen database, some of the
+indexes used to speed up patron searches on names and usernames
+could be lost.
+
+This release fixes the underlying issue and re-creates the indexes
+in question.
+
+Details
++++++++
+When using pg_restore to restore an affected database, the
+"unaccent" indexes on actor.usr would not be created due to an
+unqualified function reference in evergreen.unaccent_and_squash.
+
+The function will be replaced to resolve the search path issue,
+and the following indexes on actor.usr will be dropped and then
+re-created:
+
+  * actor_usr_first_given_name_unaccent_idx;
+  * actor_usr_second_given_name_unaccent_idx;
+  * actor_usr_family_name_unaccent_idx;
+  * actor_usr_usrname_unaccent_idx;
+
+This will be done even if the indexes are already present, and may
+take a few minutes on a database with many patrons.
+

-----------------------------------------------------------------------

Summary of changes:
 .../patron_name_username_index_fixes.adoc          |   27 ++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 docs/RELEASE_NOTES_NEXT/patron_name_username_index_fixes.adoc


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list