Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0cab6f

Browse files
author
Thomas G. Lockhart
committed
Update format to add uniform headers on files.
1 parent69789bf commitc0cab6f

17 files changed

+66
-65
lines changed

‎src/test/regress/input/constraints.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
--Check constraints
2+
--CONSTRAINTS
33
-- Constraints can be specified with:
44
-- - DEFAULT clause
55
-- - CHECK clauses

‎src/test/regress/input/copy.source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- create.source
3-
--
2+
-- COPY
43
--
54

65
-- CLASS POPULATION
@@ -54,3 +53,4 @@ COPY bt_name_heap FROM '_OBJWD_/data/hash.data';
5453
COPY bt_txt_heap FROM '_OBJWD_/data/desc.data';
5554

5655
COPY bt_f8_heap FROM '_OBJWD_/data/hash.data';
56+
Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- create.source
3-
--
2+
-- CREATE_FUNCTION_1
43
--
54

65
CREATE FUNCTION widget_in(opaque)
@@ -16,35 +15,30 @@ CREATE FUNCTION widget_out(opaque)
1615
CREATE FUNCTION check_primary_key ()
1716
RETURNS opaque
1817
AS '_OBJWD_/../../../contrib/spi/refint_DLSUFFIX_'
19-
LANGUAGE 'c'
20-
;
18+
LANGUAGE 'c';
2119

2220
CREATE FUNCTION check_foreign_key ()
2321
RETURNS opaque
2422
AS '_OBJWD_/../../../contrib/spi/refint_DLSUFFIX_'
25-
LANGUAGE 'c'
26-
;
23+
LANGUAGE 'c';
2724

2825
CREATE FUNCTION autoinc ()
2926
RETURNS opaque
3027
AS '_OBJWD_/../../../contrib/spi/autoinc_DLSUFFIX_'
31-
LANGUAGE 'c'
32-
;
28+
LANGUAGE 'c';
3329

3430
CREATE FUNCTION funny_dup17 ()
3531
RETURNS opaque
3632
AS '_OBJWD_/regress_DLSUFFIX_'
37-
LANGUAGE 'c'
38-
;
33+
LANGUAGE 'c';
3934

4035
CREATE FUNCTION ttdummy ()
4136
RETURNS opaque
4237
AS '_OBJWD_/regress_DLSUFFIX_'
43-
LANGUAGE 'c'
44-
;
38+
LANGUAGE 'c';
4539

4640
CREATE FUNCTION set_ttdummy (int4)
4741
RETURNS int4
4842
AS '_OBJWD_/regress_DLSUFFIX_'
49-
LANGUAGE 'c'
50-
;
43+
LANGUAGE 'c';
44+

‎src/test/regress/input/create_function_2.source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
--FUNCTION DEFINITIONS
2+
--CREATE_FUNCTION_2
33
--
44
CREATE FUNCTION hobbies(person)
55
RETURNS setof hobbies_r
@@ -53,7 +53,7 @@ CREATE FUNCTION reverse_name(name)
5353
LANGUAGE 'c';
5454

5555
--
56-
--FUNCTION DYNAMIC LOADING
56+
--Function dynamic loading
5757
--
5858
LOAD '_OBJWD_/regress_DLSUFFIX_';
5959

‎src/test/regress/input/install_plpgsql.source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- install_plpgsql.source
3-
--
2+
-- INSTALL_PLPGSQL
43
--
54

65
CREATE FUNCTION plpgsql_call_handler()
@@ -11,3 +10,4 @@ CREATE FUNCTION plpgsql_call_handler()
1110
CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql'
1211
HANDLER plpgsql_call_handler
1312
LANCOMPILER 'PL/pgSQL';
13+

‎src/test/regress/input/misc.source

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--
2-
--replace
3-
--
2+
--MISC
3+
44
--
55
-- BTREE
66
--
@@ -86,11 +86,11 @@ SELECT * FROM a_star*;
8686

8787
SELECT *
8888
FROM b_star* x
89-
WHERE x.b = 'bumble'::text or x.a < 3;
89+
WHERE x.b =text'bumble' or x.a < 3;
9090

9191
SELECT class, a
9292
FROM c_star* x
93-
WHERE x.c ~ 'hi'::text;
93+
WHERE x.c ~text'hi';
9494

9595
SELECT class, b, c
9696
FROM d_star* x
@@ -148,7 +148,7 @@ SELECT * FROM e_star*;
148148
ALTER TABLE a_star* ADD COLUMN a text;
149149

150150
--UPDATE b_star*
151-
-- SET a = 'gazpacho'::text
151+
-- SET a =text'gazpacho'
152152
-- WHERE aa > 4;
153153

154154
SELECT class, aa, a FROM a_star*;
@@ -208,7 +208,7 @@ SELECT p.hobbies.equipment.name, p.hobbies.name, p.name FROM person* p;
208208
SELECT user_relns() AS user_relns
209209
ORDER BY user_relns;
210210

211-
--SELECT name(equipment(hobby_construct('skywalking'::text,'mer'::text))) AS equip_name;
211+
--SELECT name(equipment(hobby_construct(text'skywalking', text'mer'))) AS equip_name;
212212

213213

214214
--
@@ -222,3 +222,4 @@ SELECT user_relns() AS user_relns
222222
--
223223
-- rewrite rules
224224
--
225+

‎src/test/regress/sql/aggregates.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- AGGREGATES
33
--
4+
45
SELECTavg(four)AS avg_1FROM onek;
56

67
SELECTavg(a)AS avg_32FROM aggtestWHERE a<100;

‎src/test/regress/sql/alter_table.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- add attribute
33
--
4+
45
CREATETABLEtmp (initial int4);
56

67
ALTERTABLE tmp ADD COLUMN a int4;

‎src/test/regress/sql/arrays.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
22
-- ARRAYS
33
--
4+
45
SELECT*FROM arrtest;
56

67
SELECTarrtest.a[1],

‎src/test/regress/sql/create_aggregate.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
--AGGREGATE DEFINITIONS
2+
--CREATE_AGGREGATE
33
--
44

55
-- all functions CREATEd

‎src/test/regress/sql/create_index.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
--
2-
-- CREATE ancillary data structures (i.e. indices)
2+
-- CREATE_INDEX
3+
-- Create ancillary data structures (i.e. indices)
34
--
45

56
--

‎src/test/regress/sql/create_misc.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- create.source
3-
--
2+
-- CREATE_MISC
43
--
54

65
-- CLASS POPULATION

‎src/test/regress/sql/create_operator.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--
2-
--OPERATOR DEFINITIONS
2+
--CREATE_OPERATOR
33
--
4+
45
CREATE OPERATOR## (
56
leftarg=path,
67
rightarg=path,

‎src/test/regress/sql/create_table.sql

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- create.source
3-
--
2+
-- CREATE_TABLE
43
--
54

65
--
@@ -19,16 +18,16 @@ CREATE TABLE equipment_r (
1918
CREATETABLEonek (
2019
unique1int4,
2120
unique2int4,
22-
twoint4,
21+
twoint4,
2322
fourint4,
24-
tenint4,
23+
tenint4,
2524
twentyint4,
2625
hundredint4,
2726
thousandint4,
2827
twothousandint4,
2928
fivethousint4,
3029
tenthousint4,
31-
oddint4,
30+
oddint4,
3231
evenint4,
3332
stringu1name,
3433
stringu2name,
@@ -38,16 +37,16 @@ CREATE TABLE onek (
3837
CREATETABLEtenk1 (
3938
unique1int4,
4039
unique2int4,
41-
twoint4,
40+
twoint4,
4241
fourint4,
43-
tenint4,
42+
tenint4,
4443
twentyint4,
4544
hundredint4,
4645
thousandint4,
4746
twothousandint4,
4847
fivethousint4,
4948
tenthousint4,
50-
oddint4,
49+
oddint4,
5150
evenint4,
5251
stringu1name,
5352
stringu2name,
@@ -59,14 +58,14 @@ CREATE TABLE tenk2 (
5958
unique2 int4,
6059
two int4,
6160
four int4,
62-
tenint4,
61+
tenint4,
6362
twenty int4,
6463
hundred int4,
6564
thousand int4,
66-
twothousandint4,
65+
twothousand int4,
6766
fivethous int4,
6867
tenthousint4,
69-
oddint4,
68+
oddint4,
7069
evenint4,
7170
stringu1name,
7271
stringu2name,
@@ -76,7 +75,7 @@ CREATE TABLE tenk2 (
7675

7776
CREATETABLEperson (
7877
nametext,
79-
ageint4,
78+
ageint4,
8079
locationpoint
8180
);
8281

@@ -128,7 +127,7 @@ CREATE TABLE shighway (
128127
) INHERITS (road);
129128

130129
CREATETABLEreal_city (
131-
popint4,
130+
popint4,
132131
cnametext,
133132
outlinepath
134133
);
@@ -145,42 +144,42 @@ CREATE TABLE real_city (
145144
--
146145
CREATETABLEa_star (
147146
classchar,
148-
a int4
147+
aint4
149148
);
150149

151150
CREATETABLEb_star (
152-
btext
151+
btext
153152
) INHERITS (a_star);
154153

155154
CREATETABLEc_star (
156-
c name
155+
cname
157156
) INHERITS (a_star);
158157

159158
CREATETABLEd_star (
160-
d float8
159+
dfloat8
161160
) INHERITS (b_star, c_star);
162161

163162
CREATETABLEe_star (
164-
e int2
163+
eint2
165164
) INHERITS (c_star);
166165

167166
CREATETABLEf_star (
168-
fpolygon
167+
fpolygon
169168
) INHERITS (e_star);
170169

171170
CREATETABLEaggtest (
172-
a int2,
173-
bfloat4
171+
aint2,
172+
bfloat4
174173
);
175174

176175
CREATETABLEarrtest (
177-
a int2[],
178-
b int4[][][],
179-
c name[],
180-
dtext[][],
181-
e float8[],
182-
fchar(5)[],
183-
gvarchar(5)[]
176+
aint2[],
177+
bint4[][][],
178+
cname[],
179+
dtext[][],
180+
efloat8[],
181+
fchar(5)[],
182+
gvarchar(5)[]
184183
);
185184

186185
CREATETABLEhash_i4_heap (
@@ -207,8 +206,8 @@ CREATE TABLE hash_f8_heap (
207206
-- the data set is too large for what it's worth
208207
--
209208
-- CREATE TABLE hash_ovfl_heap (
210-
--xint4,
211-
--yint4
209+
--xint4,
210+
--yint4
212211
-- );
213212

214213
CREATETABLEbt_i4_heap (

‎src/test/regress/sql/create_type.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
--
2-
-- create.source
3-
--
2+
-- CREATE_TYPE
43
--
54

65
CREATETYPEwidget (

‎src/test/regress/sql/create_view.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
--
2-
-- VIRTUAL CLASS DEFINITIONS
2+
-- CREATE_VIEW
3+
-- Virtual class definitions
34
--(this also tests the query rewrite system)
45
--
56

‎src/test/regress/sql/triggers.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
--
2+
-- TRIGGERS
3+
--
14

25
createtablepkeys (pkey1 int4not null, pkey2textnot null);
36
createtablefkeys (fkey1 int4, fkey2text, fkey3int);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp