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
d1e63688
Commit
d1e63688
authored
Jan 06, 2000
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up header for uniform appearance throughout tests.
parent
67ac3808
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
53 additions
and
34 deletions
+53
-34
src/test/regress/input/misc.source
src/test/regress/input/misc.source
+1
-0
src/test/regress/sql/alter_table.sql
src/test/regress/sql/alter_table.sql
+1
-0
src/test/regress/sql/btree_index.sql
src/test/regress/sql/btree_index.sql
+2
-2
src/test/regress/sql/case.sql
src/test/regress/sql/case.sql
+1
-2
src/test/regress/sql/errors.sql
src/test/regress/sql/errors.sql
+1
-3
src/test/regress/sql/hash_index.sql
src/test/regress/sql/hash_index.sql
+2
-1
src/test/regress/sql/join.sql
src/test/regress/sql/join.sql
+1
-2
src/test/regress/sql/limit.sql
src/test/regress/sql/limit.sql
+1
-0
src/test/regress/sql/plpgsql.sql
src/test/regress/sql/plpgsql.sql
+5
-8
src/test/regress/sql/portals.sql
src/test/regress/sql/portals.sql
+3
-1
src/test/regress/sql/portals_p2.sql
src/test/regress/sql/portals_p2.sql
+5
-0
src/test/regress/sql/random.sql
src/test/regress/sql/random.sql
+3
-1
src/test/regress/sql/rules.sql
src/test/regress/sql/rules.sql
+1
-1
src/test/regress/sql/select.sql
src/test/regress/sql/select.sql
+3
-0
src/test/regress/sql/select_distinct.sql
src/test/regress/sql/select_distinct.sql
+4
-1
src/test/regress/sql/select_distinct_on.sql
src/test/regress/sql/select_distinct_on.sql
+2
-2
src/test/regress/sql/select_having.sql
src/test/regress/sql/select_having.sql
+2
-1
src/test/regress/sql/select_implicit.sql
src/test/regress/sql/select_implicit.sql
+2
-3
src/test/regress/sql/select_into.sql
src/test/regress/sql/select_into.sql
+4
-0
src/test/regress/sql/select_views.sql
src/test/regress/sql/select_views.sql
+3
-3
src/test/regress/sql/subselect.sql
src/test/regress/sql/subselect.sql
+1
-1
src/test/regress/sql/temp.sql
src/test/regress/sql/temp.sql
+2
-0
src/test/regress/sql/transactions.sql
src/test/regress/sql/transactions.sql
+2
-1
src/test/regress/sql/union.sql
src/test/regress/sql/union.sql
+1
-1
No files found.
src/test/regress/input/misc.source
View file @
d1e63688
--
--
-- MISC
-- MISC
--
--
--
-- BTREE
-- BTREE
...
...
src/test/regress/sql/alter_table.sql
View file @
d1e63688
--
--
-- ALTER_TABLE
-- add attribute
-- add attribute
--
--
...
...
src/test/regress/sql/btree_index.sql
View file @
d1e63688
--
--
--
btree index
--
BTREE_INDEX
-- test retrieval of min/max keys for each
-- test retrieval of min/max keys for each
index
--
--
SELECT
b
.
*
SELECT
b
.
*
...
...
src/test/regress/sql/case.sql
View file @
d1e63688
--
--
-- case.sql
-- CASE
--
-- Test the case statement
-- Test the case statement
--
--
...
...
src/test/regress/sql/errors.sql
View file @
d1e63688
--
--
--
errors.source
--
ERRORS
--
--
-- $Header: /cvsroot/pgsql/src/test/regress/sql/errors.sql,v 1.2 1997/05/22 00:17:24 scrappy Exp $
-- bad in postquel, but ok in postsql
-- bad in postquel, but ok in postsql
select
1
select
1
...
...
src/test/regress/sql/hash_index.sql
View file @
d1e63688
--
--
--
hash index
--
HASH_INDEX
-- grep 843938989 hash.data
-- grep 843938989 hash.data
--
--
SELECT
hash_i4_heap
.
*
SELECT
hash_i4_heap
.
*
WHERE
hash_i4_heap
.
random
=
843938989
;
WHERE
hash_i4_heap
.
random
=
843938989
;
...
...
src/test/regress/sql/join.sql
View file @
d1e63688
--
--
-- join.sql
-- JOIN
--
-- Test join clauses
-- Test join clauses
--
--
...
...
src/test/regress/sql/limit.sql
View file @
d1e63688
--
--
-- LIMIT
-- Check the LIMIT/OFFSET feature of SELECT
-- Check the LIMIT/OFFSET feature of SELECT
--
--
...
...
src/test/regress/sql/plpgsql.sql
View file @
d1e63688
-- ************************************************************
--
-- *
-- PLPGSQL
-- * Tables for the patchfield test of PL/pgSQL
--
-- *
-- * $Header: /cvsroot/pgsql/src/test/regress/sql/plpgsql.sql,v 1.1 1998/10/01 03:38:45 scrappy Exp $
-- *
-- ************************************************************
create
table
Room
(
create
table
Room
(
roomno
char
(
8
),
roomno
char
(
8
),
...
@@ -104,7 +100,7 @@ create unique index PHone_name on PHone using btree (slotname bpchar_ops);
...
@@ -104,7 +100,7 @@ create unique index PHone_name on PHone using btree (slotname bpchar_ops);
-- * Trigger procedures and functions for the patchfield
-- * Trigger procedures and functions for the patchfield
-- * test of PL/pgSQL
-- * test of PL/pgSQL
-- *
-- *
-- * $Header: /cvsroot/pgsql/src/test/regress/sql/plpgsql.sql,v 1.
1 1998/10/01 03:38:45 scrappy
Exp $
-- * $Header: /cvsroot/pgsql/src/test/regress/sql/plpgsql.sql,v 1.
2 2000/01/06 06:41:55 thomas
Exp $
-- *
-- *
-- ************************************************************
-- ************************************************************
...
@@ -1404,3 +1400,4 @@ insert into HSlot values ('HS', 'base.hub1', 20, '');
...
@@ -1404,3 +1400,4 @@ insert into HSlot values ('HS', 'base.hub1', 20, '');
delete
from
HSlot
;
delete
from
HSlot
;
insert
into
IFace
values
(
'IF'
,
'notthere'
,
'eth0'
,
''
);
insert
into
IFace
values
(
'IF'
,
'notthere'
,
'eth0'
,
''
);
insert
into
IFace
values
(
'IF'
,
'orion'
,
'ethernet_interface_name_too_long'
,
''
);
insert
into
IFace
values
(
'IF'
,
'orion'
,
'ethernet_interface_name_too_long'
,
''
);
src/test/regress/sql/portals.sql
View file @
d1e63688
--
--
--
portal manipulation
--
PORTALS
--
--
BEGIN
;
BEGIN
;
DECLARE
foo1
CURSOR
FOR
SELECT
*
FROM
tenk1
;
DECLARE
foo1
CURSOR
FOR
SELECT
*
FROM
tenk1
;
...
@@ -166,3 +167,4 @@ CLOSE foo11;
...
@@ -166,3 +167,4 @@ CLOSE foo11;
CLOSE
foo12
;
CLOSE
foo12
;
end
;
end
;
src/test/regress/sql/portals_p2.sql
View file @
d1e63688
--
-- PORTALS_P2
--
-- EXTEND INDEX onek2_u1_prtl WHERE onek2.unique1 <= 60;
-- EXTEND INDEX onek2_u1_prtl WHERE onek2.unique1 <= 60;
BEGIN
;
BEGIN
;
...
@@ -94,3 +98,4 @@ CLOSE foo24;
...
@@ -94,3 +98,4 @@ CLOSE foo24;
CLOSE
foo25
;
CLOSE
foo25
;
END
;
END
;
src/test/regress/sql/random.sql
View file @
d1e63688
--
--
-- test the random function
-- RANDOM
-- Test the random function
--
--
-- count the number of tuples originally
-- count the number of tuples originally
SELECT
count
(
*
)
FROM
onek
;
SELECT
count
(
*
)
FROM
onek
;
...
...
src/test/regress/sql/rules.sql
View file @
d1e63688
--
--
--
rules.sql
--
RULES
-- From Jan's original setup_ruletest.sql and run_ruletest.sql
-- From Jan's original setup_ruletest.sql and run_ruletest.sql
-- - thomas 1998-09-13
-- - thomas 1998-09-13
--
--
...
...
src/test/regress/sql/select.sql
View file @
d1e63688
--
--
-- SELECT
--
-- btree index
-- btree index
-- awk '{if($1<10){print;}else{next;}}' onek.data | sort +0n -1
-- awk '{if($1<10){print;}else{next;}}' onek.data | sort +0n -1
--
--
...
...
src/test/regress/sql/select_distinct.sql
View file @
d1e63688
--
-- SELECT_DISTINCT
--
--
--
-- awk '{print $3;}' onek.data | sort -n | uniq
-- awk '{print $3;}' onek.data | sort -n | uniq
--
--
...
@@ -30,4 +34,3 @@ SELECT DISTINCT two, string4, ten
...
@@ -30,4 +34,3 @@ SELECT DISTINCT two, string4, ten
--
--
SELECT
DISTINCT
p
.
age
FROM
person
*
p
ORDER
BY
age
using
>
;
SELECT
DISTINCT
p
.
age
FROM
person
*
p
ORDER
BY
age
using
>
;
src/test/regress/sql/select_distinct_on.sql
View file @
d1e63688
--
--
--
test select distinct on
--
SELECT_DISTINCT_ON
--
--
SELECT
DISTINCT
ON
string4
two
,
string4
,
ten
SELECT
DISTINCT
ON
string4
two
,
string4
,
ten
FROM
tmp
FROM
tmp
ORDER
BY
two
using
<
,
string4
using
<
,
ten
using
<
;
ORDER
BY
two
using
<
,
string4
using
<
,
ten
using
<
;
...
...
src/test/regress/sql/select_having.sql
View file @
d1e63688
--
--
--
select_having.sql
--
SELECT_HAVING
--
--
-- load test data
-- load test data
...
@@ -25,3 +25,4 @@ SELECT c, max(a) FROM test_having
...
@@ -25,3 +25,4 @@ SELECT c, max(a) FROM test_having
GROUP
BY
c
HAVING
count
(
*
)
>
2
OR
min
(
a
)
=
max
(
a
);
GROUP
BY
c
HAVING
count
(
*
)
>
2
OR
min
(
a
)
=
max
(
a
);
DROP
TABLE
test_having
;
DROP
TABLE
test_having
;
src/test/regress/sql/select_implicit.sql
View file @
d1e63688
--
--
-- select_implicit.sql
-- SELECT_IMPLICIT
--
-- Test cases for queries with ordering terms missing from the target list.
-- Test cases for queries with ordering terms missing from the target list.
-- This used to be called "junkfilter.sql".
-- This used to be called "junkfilter.sql".
-- The parser uses the term "resjunk" to handle these cases.
-- The parser uses the term "resjunk" to handle these cases.
-- - thomas 1998-07-09
-- - thomas 1998-07-09
--
-- load test data
-- load test data
CREATE
TABLE
test_missing_target
(
a
int
,
b
int
,
c
char
(
8
),
d
char
);
CREATE
TABLE
test_missing_target
(
a
int
,
b
int
,
c
char
(
8
),
d
char
);
...
@@ -149,4 +149,3 @@ DROP TABLE test_missing_target;
...
@@ -149,4 +149,3 @@ DROP TABLE test_missing_target;
DROP
TABLE
test_missing_target2
;
DROP
TABLE
test_missing_target2
;
DROP
TABLE
test_missing_target3
;
DROP
TABLE
test_missing_target3
;
src/test/regress/sql/select_into.sql
View file @
d1e63688
--
-- SELECT_INTO
--
SELECT
*
SELECT
*
INTO
TABLE
tmp1
INTO
TABLE
tmp1
FROM
tmp
FROM
tmp
...
...
src/test/regress/sql/select_views.sql
View file @
d1e63688
--
--
-- VIEW queries
-- SELECT_VIEWS
--
-- test the views defined in CREATE_VIEWS
-- test the views defined in create.source
--
--
SELECT
*
FROM
street
;
SELECT
*
FROM
street
;
SELECT
name
,
#
thepath
FROM
iexit
ORDER
BY
1
,
2
;
SELECT
name
,
#
thepath
FROM
iexit
ORDER
BY
1
,
2
;
...
...
src/test/regress/sql/subselect.sql
View file @
d1e63688
--
--
-- S
ubselects
-- S
UBSELECT
--
--
SELECT
1
AS
one
WHERE
1
IN
(
SELECT
1
);
SELECT
1
AS
one
WHERE
1
IN
(
SELECT
1
);
...
...
src/test/regress/sql/temp.sql
View file @
d1e63688
--
--
-- TEMP
-- Test temp relations and indexes
-- Test temp relations and indexes
--
--
...
@@ -45,3 +46,4 @@ CREATE TEMP TABLE temptest(col int);
...
@@ -45,3 +46,4 @@ CREATE TEMP TABLE temptest(col int);
\
c
regression
\
c
regression
SELECT
*
FROM
temptest
;
SELECT
*
FROM
temptest
;
src/test/regress/sql/transactions.sql
View file @
d1e63688
--
--
--
transaction blocks
--
TRANSACTIONS
--
--
BEGIN
;
BEGIN
;
SELECT
*
SELECT
*
...
...
src/test/regress/sql/union.sql
View file @
d1e63688
--
--
--
union.sql
--
UNION
--
--
-- Simple UNION constructs
-- Simple UNION constructs
...
...
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