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

Commit2fadf24

Browse files
committed
Reorder identity regression test
The previous test order had the effect that if something was wrongwith the identity functionality, the create_table_like test wouldlikely fail or crash first, which is confusing. Reorder so that theidentity test comes before create_table_like.
1 parentde57004 commit2fadf24

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

‎src/test/regress/expected/identity.out

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ SELECT * FROM itestv11;
250250
11 | xyz
251251
(3 rows)
252252

253+
DROP VIEW itestv10, itestv11;
253254
-- ADD COLUMN
254255
CREATE TABLE itest13 (a int);
255256
-- add column to empty table

‎src/test/regress/expected/sanity_check.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ hash_txt_heap|t
5757
hobbies_r|f
5858
ihighway|t
5959
inet_tbl|f
60-
inhf|f
61-
inhx|t
6260
insert_tbl|f
6361
int2_tbl|f
6462
int4_tbl|f

‎src/test/regress/parallel_schedule

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test: create_index create_view index_including index_including_gist
6060
# ----------
6161
# Another group of parallel tests
6262
# ----------
63-
test: create_aggregate create_function_3 create_cast constraints triggers inheritcreate_table_liketyped_table vacuum drop_if_exists updatable_views rolenames roleattributes create_am hash_func
63+
test: create_aggregate create_function_3 create_cast constraints triggers inherit typed_table vacuum drop_if_exists updatable_views rolenames roleattributes create_am hash_func
6464

6565
# ----------
6666
# sanity_check does a vacuum, affecting the sort order of SELECT *
@@ -84,12 +84,12 @@ test: select_into select_distinct select_distinct_on select_implicit select_havi
8484
# ----------
8585
# Another group of parallel tests
8686
# ----------
87-
test: brin gin gist spgist privileges init_privs security_label collate matview lock replica_identity rowsecurity object_address tablesample groupingsets drop_operator password
87+
test: brin gin gist spgist privileges init_privs security_label collate matview lock replica_identity rowsecurity object_address tablesample groupingsets drop_operator password identity
8888

8989
# ----------
9090
# Another group of parallel tests
9191
# ----------
92-
test: alter_generic alter_operator misc psql async dbsize misc_functions sysviews tsrf tidscan stats_ext
92+
test:create_table_likealter_generic alter_operator misc psql async dbsize misc_functions sysviews tsrf tidscan stats_ext
9393

9494
# rules cannot run concurrently with any test that creates a view
9595
test: rules psql_crosstab amutils
@@ -116,7 +116,7 @@ test: plancache limit plpgsql copy2 temp domain rangefuncs prepare conversion tr
116116
# ----------
117117
# Another group of parallel tests
118118
# ----------
119-
test:identitypartition_join partition_prune reloptions hash_part indexing partition_aggregate partition_info
119+
test: partition_join partition_prune reloptions hash_part indexing partition_aggregate partition_info
120120

121121
# event triggers cannot run concurrently with any test that runs DDL
122122
test: event_trigger

‎src/test/regress/serial_schedule

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ test: create_cast
7272
test: constraints
7373
test: triggers
7474
test: inherit
75-
test: create_table_like
7675
test: typed_table
7776
test: vacuum
7877
test: drop_if_exists
@@ -122,6 +121,8 @@ test: tablesample
122121
test: groupingsets
123122
test: drop_operator
124123
test: password
124+
test: identity
125+
test: create_table_like
125126
test: alter_generic
126127
test: alter_operator
127128
test: misc
@@ -178,7 +179,6 @@ test: returning
178179
test: largeobject
179180
test: with
180181
test: xml
181-
test: identity
182182
test: partition_join
183183
test: partition_prune
184184
test: reloptions

‎src/test/regress/sql/identity.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ INSERT INTO itestv11 OVERRIDING SYSTEM VALUE VALUES (11, 'xyz');
145145

146146
SELECT*FROM itestv11;
147147

148+
DROPVIEW itestv10, itestv11;
149+
148150

149151
-- ADD COLUMN
150152

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp