Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3bd7263

Browse files
committed
Recent tightening of allowed array-literal syntax broke one test case
in contrib/ltree. Fix.
1 parent86d7802 commit3bd7263

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,}') ISNULL;
50+
SELECT lca('{la.2.3,1.2.3.4.5.6,""}') ISNULL;
5151
SELECT lca('{la.2.3,1.2.3.4.5.6}') ISNULL;
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)

[8]ページ先頭

©2009-2025 Movatter.jp