Skip to content

Commit 2da8961

Browse files
committed
Rename create_function_N test scripts for clarity.
Rename create_function_0 to create_function_c, and create_function_3 to create_function_sql, to establish their charters more clearly. This should also reduce confusion versus our underscore-digit convention for naming variant expected-files. I separated this from the previous commit on the premise that keeping the renaming distinct might make "git blame" tracking easier. Discussion: https://postgr.es/m/1114748.1640383217@sss.pgh.pa.us
1 parent cc50080 commit 2da8961

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/test/regress/expected/create_function_0.out renamed to src/test/regress/expected/create_function_c.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- CREATE_FUNCTION_0
2+
-- CREATE_FUNCTION_C
33
--
44
-- This script used to create C functions for other scripts to use.
55
-- But to get rid of the ordering dependencies that caused, such

src/test/regress/expected/create_function_3.out renamed to src/test/regress/expected/create_function_sql.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- CREATE FUNCTION
2+
-- CREATE_FUNCTION_SQL
33
--
44
-- Assorted tests using SQL-language functions
55
--

src/test/regress/parallel_schedule

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ test: copy copyselect copydml insert insert_conflict
4747
# More groups of parallel tests
4848
# Note: many of the tests in later groups depend on create_index
4949
# ----------
50-
test: create_function_0 create_misc create_operator create_procedure create_table create_type
50+
test: create_function_c create_misc create_operator create_procedure create_table create_type
5151
test: create_index create_index_spgist create_view index_including index_including_gist
5252

5353
# ----------
5454
# Another group of parallel tests
5555
# ----------
56-
test: create_aggregate create_function_3 create_cast constraints triggers select inherit typed_table vacuum drop_if_exists updatable_views roleattributes create_am hash_func errors infinite_recurse
56+
test: create_aggregate create_function_sql create_cast constraints triggers select inherit typed_table vacuum drop_if_exists updatable_views roleattributes create_am hash_func errors infinite_recurse
5757

5858
# ----------
5959
# sanity_check does a vacuum, affecting the sort order of SELECT *

src/test/regress/sql/create_function_0.sql renamed to src/test/regress/sql/create_function_c.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- CREATE_FUNCTION_0
2+
-- CREATE_FUNCTION_C
33
--
44
-- This script used to create C functions for other scripts to use.
55
-- But to get rid of the ordering dependencies that caused, such

src/test/regress/sql/create_function_3.sql renamed to src/test/regress/sql/create_function_sql.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
-- CREATE FUNCTION
2+
-- CREATE_FUNCTION_SQL
33
--
44
-- Assorted tests using SQL-language functions
55
--

0 commit comments

Comments
 (0)