Skip to content

Commit 353f4fd

Browse files
committed
Fix some typos in regression test comments.
Back-patch to avoid unnecessary cross-branch differences. CharSyam
1 parent 60c38e6 commit 353f4fd

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/test/regress/expected/alter_generic.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ ERROR: associated data types must be specified for index support procedure
450450
DROP OPERATOR FAMILY alt_opf16 USING gist;
451451
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
452452
CREATE OPERATOR FAMILY alt_opf17 USING btree;
453-
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statment
453+
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statement
454454
ERROR: operator number 1 for (integer,integer) appears more than once
455455
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested first-time
456456
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested again in separate statement

src/test/regress/expected/jsonb.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
19791979
3
19801980
(1 row)
19811981

1982-
-- excercise GIN_SEARCH_MODE_ALL
1982+
-- exercise GIN_SEARCH_MODE_ALL
19831983
SELECT count(*) FROM testjsonb WHERE j @> '{}';
19841984
count
19851985
-------
@@ -2153,7 +2153,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
21532153
2
21542154
(1 row)
21552155

2156-
-- excercise GIN_SEARCH_MODE_ALL
2156+
-- exercise GIN_SEARCH_MODE_ALL
21572157
SELECT count(*) FROM testjsonb WHERE j @> '{}';
21582158
count
21592159
-------

src/test/regress/expected/jsonb_1.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,7 +1979,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
19791979
3
19801980
(1 row)
19811981

1982-
-- excercise GIN_SEARCH_MODE_ALL
1982+
-- exercise GIN_SEARCH_MODE_ALL
19831983
SELECT count(*) FROM testjsonb WHERE j @> '{}';
19841984
count
19851985
-------
@@ -2153,7 +2153,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
21532153
2
21542154
(1 row)
21552155

2156-
-- excercise GIN_SEARCH_MODE_ALL
2156+
-- exercise GIN_SEARCH_MODE_ALL
21572157
SELECT count(*) FROM testjsonb WHERE j @> '{}';
21582158
count
21592159
-------

src/test/regress/sql/alter_generic.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ DROP OPERATOR FAMILY alt_opf16 USING gist;
390390

391391
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
392392
CREATE OPERATOR FAMILY alt_opf17 USING btree;
393-
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statment
393+
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statement
394394
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested first-time
395395
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested again in separate statement
396396
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD

src/test/regress/sql/jsonb.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
416416
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
417417
SELECT count(*) FROM testjsonb WHERE j @> '{"array":["foo"]}';
418418
SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
419-
-- excercise GIN_SEARCH_MODE_ALL
419+
-- exercise GIN_SEARCH_MODE_ALL
420420
SELECT count(*) FROM testjsonb WHERE j @> '{}';
421421
SELECT count(*) FROM testjsonb WHERE j ? 'public';
422422
SELECT count(*) FROM testjsonb WHERE j ? 'bar';
@@ -469,7 +469,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC"}';
469469
SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC", "public":true}';
470470
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
471471
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
472-
-- excercise GIN_SEARCH_MODE_ALL
472+
-- exercise GIN_SEARCH_MODE_ALL
473473
SELECT count(*) FROM testjsonb WHERE j @> '{}';
474474

475475
RESET enable_seqscan;

0 commit comments

Comments
 (0)