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
c0cab6f4
Commit
c0cab6f4
authored
Jan 05, 2000
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update format to add uniform headers on files.
parent
69789bf3
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
66 additions
and
65 deletions
+66
-65
src/test/regress/input/constraints.source
src/test/regress/input/constraints.source
+1
-1
src/test/regress/input/copy.source
src/test/regress/input/copy.source
+2
-2
src/test/regress/input/create_function_1.source
src/test/regress/input/create_function_1.source
+8
-14
src/test/regress/input/create_function_2.source
src/test/regress/input/create_function_2.source
+2
-2
src/test/regress/input/install_plpgsql.source
src/test/regress/input/install_plpgsql.source
+2
-2
src/test/regress/input/misc.source
src/test/regress/input/misc.source
+7
-6
src/test/regress/sql/aggregates.sql
src/test/regress/sql/aggregates.sql
+1
-0
src/test/regress/sql/alter_table.sql
src/test/regress/sql/alter_table.sql
+1
-0
src/test/regress/sql/arrays.sql
src/test/regress/sql/arrays.sql
+1
-0
src/test/regress/sql/create_aggregate.sql
src/test/regress/sql/create_aggregate.sql
+1
-1
src/test/regress/sql/create_index.sql
src/test/regress/sql/create_index.sql
+2
-1
src/test/regress/sql/create_misc.sql
src/test/regress/sql/create_misc.sql
+1
-2
src/test/regress/sql/create_operator.sql
src/test/regress/sql/create_operator.sql
+2
-1
src/test/regress/sql/create_table.sql
src/test/regress/sql/create_table.sql
+29
-30
src/test/regress/sql/create_type.sql
src/test/regress/sql/create_type.sql
+1
-2
src/test/regress/sql/create_view.sql
src/test/regress/sql/create_view.sql
+2
-1
src/test/regress/sql/triggers.sql
src/test/regress/sql/triggers.sql
+3
-0
No files found.
src/test/regress/input/constraints.source
View file @
c0cab6f4
--
-- C
heck constraints
-- C
ONSTRAINTS
-- Constraints can be specified with:
-- - DEFAULT clause
-- - CHECK clauses
...
...
src/test/regress/input/copy.source
View file @
c0cab6f4
--
-- create.source
--
-- COPY
--
-- CLASS POPULATION
...
...
@@ -54,3 +53,4 @@ COPY bt_name_heap FROM '_OBJWD_/data/hash.data';
COPY bt_txt_heap FROM '_OBJWD_/data/desc.data';
COPY bt_f8_heap FROM '_OBJWD_/data/hash.data';
src/test/regress/input/create_function_1.source
View file @
c0cab6f4
--
-- create.source
--
-- CREATE_FUNCTION_1
--
CREATE FUNCTION widget_in(opaque)
...
...
@@ -16,35 +15,30 @@ CREATE FUNCTION widget_out(opaque)
CREATE FUNCTION check_primary_key ()
RETURNS opaque
AS '_OBJWD_/../../../contrib/spi/refint_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c';
CREATE FUNCTION check_foreign_key ()
RETURNS opaque
AS '_OBJWD_/../../../contrib/spi/refint_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c';
CREATE FUNCTION autoinc ()
RETURNS opaque
AS '_OBJWD_/../../../contrib/spi/autoinc_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c';
CREATE FUNCTION funny_dup17 ()
RETURNS opaque
AS '_OBJWD_/regress_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c';
CREATE FUNCTION ttdummy ()
RETURNS opaque
AS '_OBJWD_/regress_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c';
CREATE FUNCTION set_ttdummy (int4)
RETURNS int4
AS '_OBJWD_/regress_DLSUFFIX_'
LANGUAGE 'c'
;
LANGUAGE 'c'
;
src/test/regress/input/create_function_2.source
View file @
c0cab6f4
--
--
FUNCTION DEFINITIONS
--
CREATE_FUNCTION_2
--
CREATE FUNCTION hobbies(person)
RETURNS setof hobbies_r
...
...
@@ -53,7 +53,7 @@ CREATE FUNCTION reverse_name(name)
LANGUAGE 'c';
--
-- F
UNCTION DYNAMIC LOADING
-- F
unction dynamic loading
--
LOAD '_OBJWD_/regress_DLSUFFIX_';
src/test/regress/input/install_plpgsql.source
View file @
c0cab6f4
--
-- install_plpgsql.source
--
-- INSTALL_PLPGSQL
--
CREATE FUNCTION plpgsql_call_handler()
...
...
@@ -11,3 +10,4 @@ CREATE FUNCTION plpgsql_call_handler()
CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql'
HANDLER plpgsql_call_handler
LANCOMPILER 'PL/pgSQL';
src/test/regress/input/misc.source
View file @
c0cab6f4
--
--
replace
--
--
MISC
--
-- BTREE
--
...
...
@@ -86,11 +86,11 @@ SELECT * FROM a_star*;
SELECT *
FROM b_star* x
WHERE x.b =
'bumble'::text
or x.a < 3;
WHERE x.b =
text 'bumble'
or x.a < 3;
SELECT class, a
FROM c_star* x
WHERE x.c ~
'hi'::text
;
WHERE x.c ~
text 'hi'
;
SELECT class, b, c
FROM d_star* x
...
...
@@ -148,7 +148,7 @@ SELECT * FROM e_star*;
ALTER TABLE a_star* ADD COLUMN a text;
--UPDATE b_star*
-- SET a =
'gazpacho'::text
-- SET a =
text 'gazpacho'
-- WHERE aa > 4;
SELECT class, aa, a FROM a_star*;
...
...
@@ -208,7 +208,7 @@ SELECT p.hobbies.equipment.name, p.hobbies.name, p.name FROM person* p;
SELECT user_relns() AS user_relns
ORDER BY user_relns;
--SELECT name(equipment(hobby_construct(
'skywalking'::text, 'mer'::text
))) AS equip_name;
--SELECT name(equipment(hobby_construct(
text 'skywalking', text 'mer'
))) AS equip_name;
--
...
...
@@ -222,3 +222,4 @@ SELECT user_relns() AS user_relns
--
-- rewrite rules
--
src/test/regress/sql/aggregates.sql
View file @
c0cab6f4
--
-- AGGREGATES
--
SELECT
avg
(
four
)
AS
avg_1
FROM
onek
;
SELECT
avg
(
a
)
AS
avg_32
FROM
aggtest
WHERE
a
<
100
;
...
...
src/test/regress/sql/alter_table.sql
View file @
c0cab6f4
--
-- add attribute
--
CREATE
TABLE
tmp
(
initial
int4
);
ALTER
TABLE
tmp
ADD
COLUMN
a
int4
;
...
...
src/test/regress/sql/arrays.sql
View file @
c0cab6f4
--
-- ARRAYS
--
SELECT
*
FROM
arrtest
;
SELECT
arrtest
.
a
[
1
],
...
...
src/test/regress/sql/create_aggregate.sql
View file @
c0cab6f4
--
--
AGGREGATE DEFINITIONS
--
CREATE_AGGREGATE
--
-- all functions CREATEd
...
...
src/test/regress/sql/create_index.sql
View file @
c0cab6f4
--
-- CREATE ancillary data structures (i.e. indices)
-- CREATE_INDEX
-- Create ancillary data structures (i.e. indices)
--
--
...
...
src/test/regress/sql/create_misc.sql
View file @
c0cab6f4
--
-- create.source
--
-- CREATE_MISC
--
-- CLASS POPULATION
...
...
src/test/regress/sql/create_operator.sql
View file @
c0cab6f4
--
--
OPERATOR DEFINITIONS
--
CREATE_OPERATOR
--
CREATE
OPERATOR
##
(
leftarg
=
path
,
rightarg
=
path
,
...
...
src/test/regress/sql/create_table.sql
View file @
c0cab6f4
--
-- create.source
--
-- CREATE_TABLE
--
--
...
...
@@ -19,16 +18,16 @@ CREATE TABLE equipment_r (
CREATE
TABLE
onek
(
unique1
int4
,
unique2
int4
,
two
int4
,
two
int4
,
four
int4
,
ten
int4
,
ten
int4
,
twenty
int4
,
hundred
int4
,
thousand
int4
,
twothousand
int4
,
fivethous
int4
,
tenthous
int4
,
odd
int4
,
odd
int4
,
even
int4
,
stringu1
name
,
stringu2
name
,
...
...
@@ -38,16 +37,16 @@ CREATE TABLE onek (
CREATE
TABLE
tenk1
(
unique1
int4
,
unique2
int4
,
two
int4
,
two
int4
,
four
int4
,
ten
int4
,
ten
int4
,
twenty
int4
,
hundred
int4
,
thousand
int4
,
twothousand
int4
,
fivethous
int4
,
tenthous
int4
,
odd
int4
,
odd
int4
,
even
int4
,
stringu1
name
,
stringu2
name
,
...
...
@@ -59,14 +58,14 @@ CREATE TABLE tenk2 (
unique2
int4
,
two
int4
,
four
int4
,
ten
int4
,
ten
int4
,
twenty
int4
,
hundred
int4
,
thousand
int4
,
twothousand
int4
,
twothousand
int4
,
fivethous
int4
,
tenthous
int4
,
odd
int4
,
odd
int4
,
even
int4
,
stringu1
name
,
stringu2
name
,
...
...
@@ -76,7 +75,7 @@ CREATE TABLE tenk2 (
CREATE
TABLE
person
(
name
text
,
age
int4
,
age
int4
,
location
point
);
...
...
@@ -128,7 +127,7 @@ CREATE TABLE shighway (
)
INHERITS
(
road
);
CREATE
TABLE
real_city
(
pop
int4
,
pop
int4
,
cname
text
,
outline
path
);
...
...
@@ -145,42 +144,42 @@ CREATE TABLE real_city (
--
CREATE
TABLE
a_star
(
class
char
,
a
int4
a
int4
);
CREATE
TABLE
b_star
(
b
text
b
text
)
INHERITS
(
a_star
);
CREATE
TABLE
c_star
(
c
name
c
name
)
INHERITS
(
a_star
);
CREATE
TABLE
d_star
(
d
float8
d
float8
)
INHERITS
(
b_star
,
c_star
);
CREATE
TABLE
e_star
(
e
int2
e
int2
)
INHERITS
(
c_star
);
CREATE
TABLE
f_star
(
f
polygon
f
polygon
)
INHERITS
(
e_star
);
CREATE
TABLE
aggtest
(
a
int2
,
b
float4
a
int2
,
b
float4
);
CREATE
TABLE
arrtest
(
a
int2
[],
b
int4
[][][],
c
name
[],
d
text
[][],
e
float8
[],
f
char
(
5
)[],
g
varchar
(
5
)[]
a
int2
[],
b
int4
[][][],
c
name
[],
d
text
[][],
e
float8
[],
f
char
(
5
)[],
g
varchar
(
5
)[]
);
CREATE
TABLE
hash_i4_heap
(
...
...
@@ -207,8 +206,8 @@ CREATE TABLE hash_f8_heap (
-- the data set is too large for what it's worth
--
-- CREATE TABLE hash_ovfl_heap (
-- x int4,
-- y int4
-- x
int4,
-- y
int4
-- );
CREATE
TABLE
bt_i4_heap
(
...
...
src/test/regress/sql/create_type.sql
View file @
c0cab6f4
--
-- create.source
--
-- CREATE_TYPE
--
CREATE
TYPE
widget
(
...
...
src/test/regress/sql/create_view.sql
View file @
c0cab6f4
--
-- VIRTUAL CLASS DEFINITIONS
-- CREATE_VIEW
-- Virtual class definitions
-- (this also tests the query rewrite system)
--
...
...
src/test/regress/sql/triggers.sql
View file @
c0cab6f4
--
-- TRIGGERS
--
create
table
pkeys
(
pkey1
int4
not
null
,
pkey2
text
not
null
);
create
table
fkeys
(
fkey1
int4
,
fkey2
text
,
fkey3
int
);
...
...
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