Commit 3bd72633 authored by Tom Lane's avatar Tom Lane

Recent tightening of allowed array-literal syntax broke one test case

in contrib/ltree.  Fix.
parent 86d78021
......@@ -239,7 +239,7 @@ SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
Top.Child1.Child2
(1 row)
SELECT lca('{la.2.3,1.2.3.4.5.6,}') IS NULL;
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
?column?
----------
t
......
......@@ -47,7 +47,7 @@ SELECT 'Top_0'::ltree || 'Top.Child1.Child2'::ltree;
SELECT 'Top.Child1.Child2'::ltree || ''::ltree;
SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
SELECT lca('{la.2.3,1.2.3.4.5.6,}') IS NULL;
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
SELECT lca('{la.2.3,1.2.3.4.5.6}') IS NULL;
SELECT lca('{1.la.2.3,1.2.3.4.5.6}');
SELECT lca('{1.2.3,1.2.3.4.5.6}');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment