diff options
author | Tom Lane | 2004-08-21 00:26:54 +0000 |
---|---|---|
committer | Tom Lane | 2004-08-21 00:26:54 +0000 |
commit | 3bd726333c296df1abe3a9248bef8cc3d43ed87a (patch) | |
tree | 2c22f3c18722975868cbd09f542a415a6acd0a4f | |
parent | 86d78021a403738f9a6a647fa327d7e7871aa11c (diff) |
Recent tightening of allowed array-literal syntax broke one test case
in contrib/ltree. Fix.
-rw-r--r-- | contrib/ltree/expected/ltree.out | 2 | ||||
-rw-r--r-- | contrib/ltree/sql/ltree.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ltree/expected/ltree.out b/contrib/ltree/expected/ltree.out index 2a24797534..3ce1ecf293 100644 --- a/contrib/ltree/expected/ltree.out +++ b/contrib/ltree/expected/ltree.out @@ -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 diff --git a/contrib/ltree/sql/ltree.sql b/contrib/ltree/sql/ltree.sql index 8d28c9e53e..3a155ea22b 100644 --- a/contrib/ltree/sql/ltree.sql +++ b/contrib/ltree/sql/ltree.sql @@ -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}'); |