Skip to content

Commit 5516549

Browse files
committed
Fix some typos in regression test comments.
Back-patch to avoid unnecessary cross-branch differences. CharSyam
1 parent 6c82d8d commit 5516549

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
@@ -2162,7 +2162,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
21622162
3
21632163
(1 row)
21642164

2165-
-- excercise GIN_SEARCH_MODE_ALL
2165+
-- exercise GIN_SEARCH_MODE_ALL
21662166
SELECT count(*) FROM testjsonb WHERE j @> '{}';
21672167
count
21682168
-------
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
23362336
2
23372337
(1 row)
23382338

2339-
-- excercise GIN_SEARCH_MODE_ALL
2339+
-- exercise GIN_SEARCH_MODE_ALL
23402340
SELECT count(*) FROM testjsonb WHERE j @> '{}';
23412341
count
23422342
-------

src/test/regress/expected/jsonb_1.out

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

2165-
-- excercise GIN_SEARCH_MODE_ALL
2165+
-- exercise GIN_SEARCH_MODE_ALL
21662166
SELECT count(*) FROM testjsonb WHERE j @> '{}';
21672167
count
21682168
-------
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
23362336
2
23372337
(1 row)
23382338

2339-
-- excercise GIN_SEARCH_MODE_ALL
2339+
-- exercise GIN_SEARCH_MODE_ALL
23402340
SELECT count(*) FROM testjsonb WHERE j @> '{}';
23412341
count
23422342
-------

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
@@ -529,7 +529,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
529529
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
530530
SELECT count(*) FROM testjsonb WHERE j @> '{"array":["foo"]}';
531531
SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
532-
-- excercise GIN_SEARCH_MODE_ALL
532+
-- exercise GIN_SEARCH_MODE_ALL
533533
SELECT count(*) FROM testjsonb WHERE j @> '{}';
534534
SELECT count(*) FROM testjsonb WHERE j ? 'public';
535535
SELECT count(*) FROM testjsonb WHERE j ? 'bar';
@@ -582,7 +582,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC"}';
582582
SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC", "public":true}';
583583
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
584584
SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
585-
-- excercise GIN_SEARCH_MODE_ALL
585+
-- exercise GIN_SEARCH_MODE_ALL
586586
SELECT count(*) FROM testjsonb WHERE j @> '{}';
587587

588588
RESET enable_seqscan;

0 commit comments

Comments
 (0)