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

Commitca1d1b7

Browse files
committed
Wups, stuck ORDER BY on wrong query while trying to eliminate random
ordering of GROUP BY output due to hash-based aggregation.
1 parent63c3840 commitca1d1b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/test/regress/expected/rules.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ select * from rtest_view3;
858858

859859
delete from rtest_view3;
860860
insert into rtest_view4 select * from rtest_vview4 where 3 > refcount;
861-
select * from rtest_view4;
861+
select * from rtest_view4 order by a, b;
862862
a | b | c
863863
---+--------+---
864864
2 | item 2 | 2
@@ -868,7 +868,7 @@ select * from rtest_view4;
868868

869869
delete from rtest_view4;
870870
insert into rtest_view4 select * from rtest_vview5 where a > 2 and refcount = 0;
871-
select * from rtest_view4 order by a, b;
871+
select * from rtest_view4;
872872
a | b | c
873873
---+--------+---
874874
3 | item 3 | 0

‎src/test/regress/sql/rules.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,11 @@ select * from rtest_view3;
467467
deletefrom rtest_view3;
468468

469469
insert into rtest_view4select*from rtest_vview4where3> refcount;
470-
select*from rtest_view4;
470+
select*from rtest_view4order by a, b;
471471
deletefrom rtest_view4;
472472

473473
insert into rtest_view4select*from rtest_vview5where a>2and refcount=0;
474-
select*from rtest_view4order by a, b;
474+
select*from rtest_view4;
475475
deletefrom rtest_view4;
476476
--
477477
-- Test for computations in views

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp