Schema Changes: 3.14.7

Upgrade: 3.14.6 → 3.14.7

This release applied 1 migration(s) to the database schema.

ID Type Description

1471

function

oils xpath string

Migration Details

1471 — oils xpath string

Type: function

View SQL
CREATE OR REPLACE FUNCTION evergreen.oils_xpath_string(text, text, text, anyarray) RETURNS text
AS $F$
    SELECT  ARRAY_TO_STRING(
                oils_xpath(
                    $1 ||
                        CASE WHEN $1 ~ $re$/[^/[]*@[^]]+$$re$ OR $1 ~ $re$\)$$re$ THEN '' ELSE '//text()' END,
                    $2,
                    $4
                ),
                $3
            );
$F$ LANGUAGE SQL IMMUTABLE;