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
a3c9cce9
Commit
a3c9cce9
authored
Jul 09, 1998
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"select_implicit" is renamed from "junkfilter" test.
Move from last test in list up to other "select_xxx" tests.
parent
511b368f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
src/test/regress/sql/select_implicit.sql
src/test/regress/sql/select_implicit.sql
+12
-3
src/test/regress/sql/tests
src/test/regress/sql/tests
+1
-1
No files found.
src/test/regress/sql/
junkfilter
.sql
→
src/test/regress/sql/
select_implicit
.sql
View file @
a3c9cce9
--
-- select_implicit.sql
--
-- Test cases for queries with ordering terms missing from the target list.
-- This used to be called "junkfilter.sql".
-- The parser uses the term "resjunk" to handle these cases.
-- - thomas 1998-07-09
-- load test data
CREATE
TABLE
test_missing_target
(
a
int
,
b
int
,
c
char
(
8
));
INSERT
INTO
test_missing_target
VALUES
(
0
,
1
,
'XXXX'
);
...
...
@@ -26,7 +34,8 @@ SELECT count(*) FROM test_missing_target GROUP BY a ORDER BY b;
SELECT
count
(
*
)
FROM
test_missing_target
GROUP
BY
b
ORDER
BY
b
;
-- w/ existing GROUP BY target using a relation name in target
SELECT
test_missing_target
.
b
,
count
(
*
)
FROM
test_missing_target
GROUP
BY
b
ORDER
BY
b
;
SELECT
test_missing_target
.
b
,
count
(
*
)
FROM
test_missing_target
GROUP
BY
b
ORDER
BY
b
;
-- w/o existing GROUP BY target
SELECT
c
FROM
test_missing_target
ORDER
BY
a
;
...
...
@@ -69,6 +78,6 @@ FROM test_missing_target x, test_missing_target y
SELECT
*
FROM
test_missing_target2
;
-- Cleanup
drop
table
test_missing_target
;
drop
table
test_missing_target2
;
DROP
TABLE
test_missing_target
;
DROP
TABLE
test_missing_target2
;
src/test/regress/sql/tests
View file @
a3c9cce9
...
...
@@ -46,6 +46,7 @@ select
select_into
select_distinct
select_distinct_on
select_implicit
select_having
subselect
union
...
...
@@ -60,4 +61,3 @@ hash_index
select_views
alter_table
portals_p2
junkfilter
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