Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ca1d1b79
Commit
ca1d1b79
authored
22 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Wups, stuck ORDER BY on wrong query while trying to eliminate random
ordering of GROUP BY output due to hash-based aggregation.
parent
63c38401
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/regress/expected/rules.out
+2
-2
2 additions, 2 deletions
src/test/regress/expected/rules.out
src/test/regress/sql/rules.sql
+2
-2
2 additions, 2 deletions
src/test/regress/sql/rules.sql
with
4 additions
and
4 deletions
src/test/regress/expected/rules.out
+
2
−
2
View file @
ca1d1b79
...
@@ -858,7 +858,7 @@ select * from rtest_view3;
...
@@ -858,7 +858,7 @@ select * from rtest_view3;
delete from rtest_view3;
delete from rtest_view3;
insert into rtest_view4 select * from rtest_vview4 where 3 > refcount;
insert into rtest_view4 select * from rtest_vview4 where 3 > refcount;
select * from rtest_view4;
select * from rtest_view4
order by a, b
;
a | b | c
a | b | c
---+--------+---
---+--------+---
2 | item 2 | 2
2 | item 2 | 2
...
@@ -868,7 +868,7 @@ select * from rtest_view4;
...
@@ -868,7 +868,7 @@ select * from rtest_view4;
delete from rtest_view4;
delete from rtest_view4;
insert into rtest_view4 select * from rtest_vview5 where a > 2 and refcount = 0;
insert into rtest_view4 select * from rtest_vview5 where a > 2 and refcount = 0;
select * from rtest_view4
order by a, b
;
select * from rtest_view4;
a | b | c
a | b | c
---+--------+---
---+--------+---
3 | item 3 | 0
3 | item 3 | 0
...
...
This diff is collapsed.
Click to expand it.
src/test/regress/sql/rules.sql
+
2
−
2
View file @
ca1d1b79
...
@@ -467,11 +467,11 @@ select * from rtest_view3;
...
@@ -467,11 +467,11 @@ select * from rtest_view3;
delete
from
rtest_view3
;
delete
from
rtest_view3
;
insert
into
rtest_view4
select
*
from
rtest_vview4
where
3
>
refcount
;
insert
into
rtest_view4
select
*
from
rtest_vview4
where
3
>
refcount
;
select
*
from
rtest_view4
;
select
*
from
rtest_view4
order
by
a
,
b
;
delete
from
rtest_view4
;
delete
from
rtest_view4
;
insert
into
rtest_view4
select
*
from
rtest_vview5
where
a
>
2
and
refcount
=
0
;
insert
into
rtest_view4
select
*
from
rtest_vview5
where
a
>
2
and
refcount
=
0
;
select
*
from
rtest_view4
order
by
a
,
b
;
select
*
from
rtest_view4
;
delete
from
rtest_view4
;
delete
from
rtest_view4
;
--
--
-- Test for computations in views
-- Test for computations in views
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment