Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ca1d1b79
Commit
ca1d1b79
authored
Nov 21, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email 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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/test/regress/expected/rules.out
src/test/regress/expected/rules.out
+2
-2
src/test/regress/sql/rules.sql
src/test/regress/sql/rules.sql
+2
-2
No files found.
src/test/regress/expected/rules.out
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
...
...
src/test/regress/sql/rules.sql
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment