Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
Recover backward compatibility with postgresql 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Geggus committed May 26, 2020
1 parent 1ab9292 commit 3735185
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Priority: extra
Maintainer: Sven Geggus <[email protected]>
Build-Depends: debhelper (>= 8.0.0), libicu-dev,
postgresql-server-dev-all,
postgresql-server-dev-10 | postgresql-server-dev-11 | postgresql-server-dev-12,
postgresql-server-dev-9.6 | postgresql-server-dev-10 | postgresql-server-dev-11 | postgresql-server-dev-12,
curl, libkakasi2-dev, libutf8proc-dev, pandoc
Standards-Version: 3.9.2

Expand Down
2 changes: 1 addition & 1 deletion debian/pgversions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10+
9.6+
2 changes: 1 addition & 1 deletion plpgsql/get_localized_name_from_tags.sql
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ CREATE or REPLACE FUNCTION osml10n_gen_combined_name(local_name text,
strict option to disable this behaviour.
*/
if (pos = 1) THEN
IF regexp_match(substring(unacc,length(unacc_local)+1,1),'[\s\(\)\-,;:/\[\]]') IS NOT NULL THEN
IF regexp_matches(substring(unacc,length(unacc_local)+1,1),'[\s\(\)\-,;:/\[\]]') IS NOT NULL THEN
raise notice 'swapping primary/second name';
loc_in_brackets = false;
END IF;
Expand Down

0 comments on commit 3735185

Please sign in to comment.