Skip to content

Commit 3bd7263

Browse files
committed
Recent tightening of allowed array-literal syntax broke one test case
in contrib/ltree. Fix.
1 parent 86d7802 commit 3bd7263

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/ltree/expected/ltree.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
239239
Top.Child1.Child2
240240
(1 row)
241241

242-
SELECT lca('{la.2.3,1.2.3.4.5.6,}') IS NULL;
242+
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
243243
?column?
244244
----------
245245
t

contrib/ltree/sql/ltree.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ SELECT 'Top_0'::ltree || 'Top.Child1.Child2'::ltree;
4747
SELECT 'Top.Child1.Child2'::ltree || ''::ltree;
4848
SELECT ''::ltree || 'Top.Child1.Child2'::ltree;
4949

50-
SELECT lca('{la.2.3,1.2.3.4.5.6,}') IS NULL;
50+
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') IS NULL;
5151
SELECT lca('{la.2.3,1.2.3.4.5.6}') IS NULL;
5252
SELECT lca('{1.la.2.3,1.2.3.4.5.6}');
5353
SELECT lca('{1.2.3,1.2.3.4.5.6}');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy