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
1f27facc
Commit
1f27facc
authored
Oct 28, 1998
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ORDER BY to ensure platform-independent results in rules test.
parent
571d1216
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
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
+5
-1
No files found.
src/test/regress/expected/rules.out
View file @
1f27facc
...
...
@@ -311,12 +311,12 @@ bm |pluto
(3 rows)
QUERY: update rtest_person set pname = 'jwieck' where pdesc = 'Jan Wieck';
QUERY: select * from rtest_admin;
QUERY: select * from rtest_admin
order by pname, sysname
;
pname |sysname
------+-------
bm |pluto
jwieck|orion
jwieck|notjw
jwieck|orion
(3 rows)
QUERY: delete from rtest_system where sysname = 'orion';
...
...
src/test/regress/sql/rules.sql
View file @
1f27facc
...
...
@@ -251,7 +251,11 @@ select * from rtest_admin;
update
rtest_person
set
pname
=
'jwieck'
where
pdesc
=
'Jan Wieck'
;
select
*
from
rtest_admin
;
-- Note: use ORDER BY here to ensure consistent output across all systems.
-- The above UPDATE affects two rows with equal keys, so they could be
-- updated in either order depending on the whim of the local qsort().
select
*
from
rtest_admin
order
by
pname
,
sysname
;
delete
from
rtest_system
where
sysname
=
'orion'
;
...
...
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