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

Commit350f477

Browse files
committed
Spelling adjustments
similar to0fd2a79
1 parentb1d32d3 commit350f477

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

‎contrib/pg_trgm/trgm_regexp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
* (two prefix colors plus a state number from the original NFA) an
7474
* "enter key".
7575
*
76-
* Each arc of the expanded graph islabelled with a trigram that must be
76+
* Each arc of the expanded graph islabeled with a trigram that must be
7777
* present in the string to match. We can construct this from an out-arc of
7878
* the underlying NFA state by combining the expanded state's prefix with the
7979
* color label of the underlying out-arc, if neither prefix position is
@@ -123,7 +123,7 @@
123123
* false positives that we would have to traverse a large fraction of the
124124
* index, the graph is simplified further in a lossy fashion by removing
125125
* color trigrams. When a color trigram is removed, the states connected by
126-
* any arcslabelled with that trigram are merged.
126+
* any arcslabeled with that trigram are merged.
127127
*
128128
* Trigrams do not all have equivalent value for searching: some of them are
129129
* more frequent and some of them are less frequent. Ideally, we would like

‎src/backend/commands/explain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4238,7 +4238,7 @@ ExplainOpenGroup(const char *objtype, const char *labelname,
42384238
/*
42394239
* In YAML format, the grouping stack is an integer list. 0 means
42404240
* we've emitted nothing at this grouping level AND this grouping
4241-
* level isunlabelled and must be marked with "- ". See
4241+
* level isunlabeled and must be marked with "- ". See
42424242
* ExplainYAMLLineStarting().
42434243
*/
42444244
ExplainYAMLLineStarting(es);
@@ -4601,7 +4601,7 @@ ExplainJSONLineEnding(ExplainState *es)
46014601
*
46024602
* YAML lines are ordinarily indented by two spaces per indentation level.
46034603
* The text emitted for each property begins just prior to the preceding
4604-
* line-break, except for the first property in anunlabelled group, for which
4604+
* line-break, except for the first property in anunlabeled group, for which
46054605
* it begins immediately after the "- " that introduces the group. The first
46064606
* property of the group appears on the same line as the opening "- ".
46074607
*/

‎src/backend/optimizer/plan/planner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ standard_planner(Query *parse, const char *query_string, int cursorOptions,
367367
* parallel-restricted, and in either case it should be OK to impose
368368
* parallel-mode restrictions. If that ends up breaking something, then
369369
* either some function the user included in the query is incorrectly
370-
*labelled as parallel-safe or parallel-restricted when in reality it's
370+
*labeled as parallel-safe or parallel-restricted when in reality it's
371371
* parallel-unsafe, or else the query planner itself has a bug.
372372
*/
373373
glob->parallelModeNeeded=glob->parallelModeOK&&

‎src/pl/plpgsql/src/expected/plpgsql_control.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ begin
349349
end loop flbl1;
350350
end;
351351
$$ language plpgsql;
352-
ERROR: end label "flbl1" specified forunlabelled block
352+
ERROR: end label "flbl1" specified forunlabeled block
353353
LINE 5: end loop flbl1;
354354
^
355355
-- should fail: end label does not match start label
@@ -374,7 +374,7 @@ begin
374374
end loop outer_label;
375375
end;
376376
$$ language plpgsql;
377-
ERROR: end label "outer_label" specified forunlabelled block
377+
ERROR: end label "outer_label" specified forunlabeled block
378378
LINE 6: end loop outer_label;
379379
^
380380
-- unlabeled exit matches no blocks

‎src/pl/plpgsql/src/pl_exec.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,41 +212,41 @@ static HTAB *shared_cast_hash = NULL;
212212
{ \
213213
if (estate->exitlabel == NULL) \
214214
{ \
215-
/*unlabelled EXIT terminates this loop */ \
215+
/*unlabeled EXIT terminates this loop */ \
216216
rc = PLPGSQL_RC_OK; \
217217
exit_action; \
218218
} \
219219
else if ((looplabel) != NULL && \
220220
strcmp(looplabel, estate->exitlabel) == 0) \
221221
{ \
222-
/*labelled EXIT matching this loop, so terminate loop */ \
222+
/*labeled EXIT matching this loop, so terminate loop */ \
223223
estate->exitlabel=NULL; \
224224
rc=PLPGSQL_RC_OK; \
225225
exit_action; \
226226
} \
227227
else \
228228
{ \
229-
/* non-matchinglabelled EXIT, propagate RC_EXIT out */ \
229+
/* non-matchinglabeled EXIT, propagate RC_EXIT out */ \
230230
exit_action; \
231231
} \
232232
} \
233233
elseif (rc==PLPGSQL_RC_CONTINUE) \
234234
{ \
235235
if (estate->exitlabel==NULL) \
236236
{ \
237-
/*unlabelled CONTINUE matches this loop, so continue in loop */ \
237+
/*unlabeled CONTINUE matches this loop, so continue in loop */ \
238238
rc=PLPGSQL_RC_OK; \
239239
} \
240240
elseif ((looplabel)!=NULL&& \
241241
strcmp(looplabel,estate->exitlabel)==0) \
242242
{ \
243-
/*labelled CONTINUE matching this loop, so continue in loop */ \
243+
/*labeled CONTINUE matching this loop, so continue in loop */ \
244244
estate->exitlabel=NULL; \
245245
rc=PLPGSQL_RC_OK; \
246246
} \
247247
else \
248248
{ \
249-
/* non-matchinglabelled CONTINUE, propagate RC_CONTINUE out */ \
249+
/* non-matchinglabeled CONTINUE, propagate RC_CONTINUE out */ \
250250
exit_action; \
251251
} \
252252
} \

‎src/pl/plpgsql/src/pl_gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ stmt_exit: exit_type opt_label opt_exitcond
17251725
{
17261726
/*
17271727
* No label, so make sure there is some loop (an
1728-
*unlabelled EXIT does not match a block, so this
1728+
*unlabeled EXIT does not match a block, so this
17291729
* is the same test for both EXIT and CONTINUE)
17301730
*/
17311731
if (plpgsql_ns_find_nearest_loop(plpgsql_ns_top()) ==NULL)
@@ -3749,7 +3749,7 @@ check_labels(const char *start_label, const char *end_label, int end_location)
37493749
if (!start_label)
37503750
ereport(ERROR,
37513751
(errcode(ERRCODE_SYNTAX_ERROR),
3752-
errmsg("end label \"%s\" specified forunlabelled block",
3752+
errmsg("end label \"%s\" specified forunlabeled block",
37533753
end_label),
37543754
parser_errposition(end_location)));
37553755

‎src/pl/plpgsql/src/plpgsql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ typedef struct PLpgSQL_stmt_exit
833833
intlineno;
834834
unsignedintstmtid;
835835
boolis_exit;/* Is this an exit or a continue? */
836-
char*label;/* NULL if it's anunlabelled EXIT/CONTINUE */
836+
char*label;/* NULL if it's anunlabeled EXIT/CONTINUE */
837837
PLpgSQL_expr*cond;
838838
}PLpgSQL_stmt_exit;
839839

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp