LP1937294: Fix Functions for XML/XPath changes
authorJason Stephenson <jason@sigio.com>
Thu, 18 Nov 2021 21:06:37 +0000 (16:06 -0500)
committerMike Rylander <mrylander@gmail.com>
Mon, 10 Jan 2022 14:54:45 +0000 (09:54 -0500)
commitd7e680fee0421ebaab94f1c6c1479fd9bd5d2273
treea7e8f85bc5fbc80a029b57519538b28b5331dc83
parent83aa058f6dcf5dfe946cf5a5ddd6dbfc7ae1aae5
LP1937294: Fix Functions for XML/XPath changes

Use local-name() in XPath where necessitated by XML bug fixes in
PostgreSQL 11 and later.  Relative XPath no longer works as it used
to.

Fix authority.generate_overlay_template()

Fix authority.normalize_heading()

Fix vandelay.ingest_items()

Fix biblio.extract_quality()

Fix authority.simple_heading_set()

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/011.schema.authority.sql
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.lp1937244-postgresql-changes.sql [new file with mode: 0644]