Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5d4b60f

Browse files
committed
Lots of doc corrections.
Josh Kupershmidt
1 parent 7ab9b2f commit 5d4b60f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+81
-81
lines changed

contrib/dblink/dblink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ dblink_current_query(PG_FUNCTION_ARGS)
17951795
/*
17961796
* Retrieve async notifications for a connection.
17971797
*
1798-
* Returns an setof record of notifications, or an empty set if none recieved.
1798+
* Returns an setof record of notifications, or an empty set if none received.
17991799
* Can optionally take a named connection as parameter, but uses the unnamed connection per default.
18001800
*
18011801
*/

contrib/fuzzystrmatch/fuzzystrmatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ getcode(char c)
157157
/* These letters are passed through unchanged */
158158
#define NOCHANGE(c) (getcode(c) & 2) /* FJMNR */
159159

160-
/* These form dipthongs when preceding H */
160+
/* These form diphthongs when preceding H */
161161
#define AFFECTH(c) (getcode(c) & 4) /* CGPST */
162162

163163
/* These make C and G soft */

contrib/fuzzystrmatch/levenshtein.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ levenshtein_internal(text *s, text *t,
171171
* length. Each additional deletion forces another insertion, so
172172
* the best-case total cost increases by ins_c + del_c. If the
173173
* string is shrinking, the minimum theoretical cost assumes no
174-
* excess deletions; that is, we're starting no futher right than
174+
* excess deletions; that is, we're starting no further right than
175175
* column n - m. If we do start further right, the best-case
176176
* total cost increases by ins_c + del_c for each move right.
177177
*/

contrib/hstore/hstore_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ get_val(HSParser *state, bool ignoreeq, bool *escaped)
7474
}
7575
else if (*(state->ptr) == '=' && !ignoreeq)
7676
{
77-
elog(ERROR, "Syntax error near '%c' at postion %d", *(state->ptr), (int4) (state->ptr - state->begin));
77+
elog(ERROR, "Syntax error near '%c' at position %d", *(state->ptr), (int4) (state->ptr - state->begin));
7878
}
7979
else if (*(state->ptr) == '\\')
8080
{

contrib/pg_upgrade/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ get_db_infos(ClusterInfo *cluster)
234234
/*
235235
* get_rel_infos()
236236
*
237-
* gets the relinfos for all the user tables of the database refered
237+
* gets the relinfos for all the user tables of the database referred
238238
* by "db".
239239
*
240240
* NOTE: we assume that relations/entities with oids greater than

contrib/pg_upgrade/pg_upgrade.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* oids are the same between old and new clusters. This is important
1616
* because toast oids are stored as toast pointers in user tables.
1717
*
18-
* FYI, while pg_class.oid and pg_class.relfilenode are intially the same
18+
* FYI, while pg_class.oid and pg_class.relfilenode are initially the same
1919
* in a cluster, but they can diverge due to CLUSTER, REINDEX, or VACUUM
2020
* FULL. The new cluster will have matching pg_class.oid and
2121
* pg_class.relfilenode values and be based on the old oid value. This can

contrib/pg_upgrade/version_old_8_3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ old_8_3_rebuild_tsvector_tables(ClusterInfo *cluster, bool check_mode)
396396

397397
PQclear(res);
398398

399-
/* XXX Mark tables as not accessable somehow */
399+
/* XXX Mark tables as not accessible somehow */
400400

401401
PQfinish(conn);
402402
}
@@ -666,7 +666,7 @@ old_8_3_invalidate_bpchar_pattern_ops_indexes(ClusterInfo *cluster,
666666
* we don't transfer sequence files but instead use the CREATE SEQUENCE
667667
* command from the schema dump, and use setval() to restore the sequence
668668
* value and 'is_called' from the old database. This is safe to run
669-
* by pg_upgrade because sequence files are not transfered from the old
669+
* by pg_upgrade because sequence files are not transferred from the old
670670
* server, even in link mode.
671671
*/
672672
char *

contrib/pgcrypto/crypt-des.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ px_crypt_des(const char *key, const char *setting)
711711

712712
/*
713713
* Double check that we weren't given a short setting. If we were, the
714-
* above code will probably have created wierd values for count and
714+
* above code will probably have created weird values for count and
715715
* salt, but we don't really care. Just make sure the output string
716716
* doesn't have an extra NUL in it.
717717
*/

contrib/pgcrypto/imath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ mp_int_add(mp_int a, mp_int b, mp_int c)
647647
/* Different signs -- subtract magnitudes, preserve sign of greater */
648648
mp_int x,
649649
y;
650-
int cmp = s_ucmp(a, b); /* magnitude comparision, sign ignored */
650+
int cmp = s_ucmp(a, b); /* magnitude comparison, sign ignored */
651651

652652
/* Set x to max(a, b), y to min(a, b) to simplify later code */
653653
if (cmp >= 0)

contrib/pgcrypto/pgp-pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ decrypt_internal(int is_pubenc, int need_text, text *data,
625625
px_set_debug_handler(NULL);
626626

627627
/*
628-
* add successfull decryptions also into RNG
628+
* add successful decryptions also into RNG
629629
*/
630630
add_entropy(res, key, keypsw);
631631

contrib/sepgsql/label.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ typedef struct {
7474
* sepgsql_get_client_label
7575
*
7676
* Returns the current security label of the client. All code should use this
77-
* routine to get the current label, instead of refering to the client_label_*
77+
* routine to get the current label, instead of referring to the client_label_*
7878
* variables above.
7979
*/
8080
char *

contrib/sslinfo/sslinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ ssl_client_serial(PG_FUNCTION_ARGS)
132132
* current database encoding if possible. Any invalid characters are
133133
* replaced by question marks.
134134
*
135-
* Parameter: str - OpenSSL ASN1_STRING structure. Memory managment
135+
* Parameter: str - OpenSSL ASN1_STRING structure. Memory management
136136
* of this structure is responsibility of caller.
137137
*
138138
* Returns Datum, which can be directly returned from a C language SQL

doc/src/sgml/release-7.4.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@
11491149
</para>
11501150

11511151
<para>
1152-
An explictly casted constant would be shown incorrectly. This could
1152+
An explicitly casted constant would be shown incorrectly. This could
11531153
for example lead to corruption of a view definition during
11541154
dump and reload.
11551155
</para>

doc/src/sgml/release-8.0.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@
15391539
</para>
15401540

15411541
<para>
1542-
An explictly casted constant would be shown incorrectly. This could
1542+
An explicitly casted constant would be shown incorrectly. This could
15431543
for example lead to corruption of a view definition during
15441544
dump and reload.
15451545
</para>

doc/src/sgml/release-8.1.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1991,7 +1991,7 @@
19911991
</para>
19921992

19931993
<para>
1994-
An explictly casted constant would be shown incorrectly. This could
1994+
An explicitly casted constant would be shown incorrectly. This could
19951995
for example lead to corruption of a view definition during
19961996
dump and reload.
19971997
</para>

doc/src/sgml/release-8.2.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3544,7 +3544,7 @@
35443544
</para>
35453545

35463546
<para>
3547-
An explictly casted constant would be shown incorrectly. This could
3547+
An explicitly casted constant would be shown incorrectly. This could
35483548
for example lead to corruption of a view definition during
35493549
dump and reload.
35503550
</para>

src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ $(top_builddir)/src/Makefile.global: $(top_srcdir)/src/Makefile.global.in $(top_
534534
# config.status will not change the timestamp on pg_config.h if it
535535
# doesn't change, so as to avoid recompiling the entire tree
536536
# unnecessarily. Therefore we make config.status update a timestamp file
537-
# stamp-h everytime it runs, so that we don't trigger this rule everytime.
538-
# (We do trigger the null rule for stamp-h to pg_config.h everytime; so it's
537+
# stamp-h every time it runs, so that we don't trigger this rule every time.
538+
# (We do trigger the null rule for stamp-h to pg_config.h every time; so it's
539539
# important for that rule to be null!)
540540
#
541541
# Of course you need to turn on dependency tracking to get any

src/backend/access/gin/ginentrypage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,9 @@ entryIsEnoughSpace(GinBtree btree, Buffer buf, OffsetNumber off)
447447
}
448448

449449
/*
450-
* Delete tuple on leaf page if tuples was existed and we
450+
* Delete tuple on leaf page if tuples existed and we
451451
* should update it, update old child blkno to new right page
452-
* if child split is occured
452+
* if child split occurred
453453
*/
454454
static BlockNumber
455455
entryPreparePage(GinBtree btree, Page page, OffsetNumber off)

src/backend/access/gin/ginfast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ ginInsertCleanup(GinState *ginstate,
856856
* added to it. If so, process those entries immediately. There
857857
* shouldn't be very many, so we don't worry about the fact that
858858
* we're doing this with exclusive lock. Insertion algorithm
859-
* gurantees that inserted row(s) will not continue on next page.
859+
* guarantees that inserted row(s) will not continue on next page.
860860
* NOTE: intentionally no vacuum_delay_point in this loop.
861861
*/
862862
if (PageGetMaxOffsetNumber(page) != maxoff)

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ heap_hot_search_buffer(ItemPointer tid, Relation relation, Buffer buffer,
15801580
break;
15811581

15821582
/*
1583-
* When first_call is true (and thus, skip is initally false) we'll
1583+
* When first_call is true (and thus, skip is initially false) we'll
15841584
* return the first tuple we find. But on later passes, heapTuple
15851585
* will initially be pointing to the tuple we returned last time.
15861586
* Returning it again would be incorrect (and would loop forever),

src/backend/access/nbtree/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ leaf-item deletions (if the deletion brings the leaf page to zero items,
373373
it is now a candidate to be deleted, but that is a separate action).
374374

375375
An insertion that causes a page split is logged as a single WAL entry for
376-
the changes occuring on the insertion's level --- including update of the
376+
the changes occurring on the insertion's level --- including update of the
377377
right sibling's left-link --- followed by a second WAL entry for the
378378
insertion on the parent level (which might itself be a page split, requiring
379379
an additional insertion above that, etc).

src/backend/access/transam/multixact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static MultiXactId *OldestVisibleMXactId;
173173
* Definitions for the backend-local MultiXactId cache.
174174
*
175175
* We use this cache to store known MultiXacts, so we don't need to go to
176-
* SLRU areas everytime.
176+
* SLRU areas every time.
177177
*
178178
* The cache lasts for the duration of a single transaction, the rationale
179179
* for this being that most entries will contain our own TransactionId and

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7595,7 +7595,7 @@ LogCheckpointEnd(bool restartpoint)
75957595
* CHECKPOINT_END_OF_RECOVERY: checkpoint is for end of WAL recovery.
75967596
* CHECKPOINT_IMMEDIATE: finish the checkpoint ASAP,
75977597
* ignoring checkpoint_completion_target parameter.
7598-
* CHECKPOINT_FORCE: force a checkpoint even if no XLOG activity has occured
7598+
* CHECKPOINT_FORCE: force a checkpoint even if no XLOG activity has occurred
75997599
* since the last one (implied by CHECKPOINT_IS_SHUTDOWN or
76007600
* CHECKPOINT_END_OF_RECOVERY).
76017601
*

src/backend/catalog/pg_shdepend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ getOidListDiff(Oid *list1, int *nlist1, Oid *list2, int *nlist2)
392392
* nnewmembers, newmembers: array of roleids appearing in new ACL
393393
*
394394
* We calculate the differences between the new and old lists of roles,
395-
* and then insert or delete from pg_shdepend as appropiate.
395+
* and then insert or delete from pg_shdepend as appropriate.
396396
*
397397
* Note that we can't just insert all referenced roles blindly during GRANT,
398398
* because we would end up with duplicate registered dependencies. We could

src/backend/commands/copy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ CopyFrom(CopyState cstate)
19841984
AfterTriggerBeginQuery();
19851985

19861986
/*
1987-
* Check BEFORE STATEMENT insertion triggers. It's debateable whether we
1987+
* Check BEFORE STATEMENT insertion triggers. It's debatable whether we
19881988
* should do this for COPY, since it's not really an "INSERT" statement as
19891989
* such. However, executing these triggers maintains consistency with the
19901990
* EACH ROW triggers that we already fire on COPY.

src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6247,7 +6247,7 @@ ATExecValidateConstraint(Relation rel, char *constrName, bool recurse,
62476247
heap_close(refrel, NoLock);
62486248

62496249
/*
6250-
* Foreign keys do not inherit, so we purposedly ignore the
6250+
* Foreign keys do not inherit, so we purposely ignore the
62516251
* recursion bit here
62526252
*/
62536253
}

src/backend/commands/typecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ get_rels_with_domain(Oid domainOid, LOCKMODE lockmode)
27542754

27552755
/*
27562756
* Confirm column has not been dropped, and is of the expected type.
2757-
* This defends against an ALTER DROP COLUMN occuring just before we
2757+
* This defends against an ALTER DROP COLUMN occurring just before we
27582758
* acquired lock ... but if the whole table were dropped, we'd still
27592759
* have a problem.
27602760
*/

src/backend/executor/nodeMergejoin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ ExecMergeJoin(MergeJoinState *node)
13611361
/*
13621362
* EXEC_MJ_ENDOUTER means we have run out of outer tuples, but
13631363
* are doing a right/full join and therefore must null-fill
1364-
* any remaing unmatched inner tuples.
1364+
* any remaining unmatched inner tuples.
13651365
*/
13661366
case EXEC_MJ_ENDOUTER:
13671367
MJ_printf("ExecMergeJoin: EXEC_MJ_ENDOUTER\n");
@@ -1407,7 +1407,7 @@ ExecMergeJoin(MergeJoinState *node)
14071407
/*
14081408
* EXEC_MJ_ENDINNER means we have run out of inner tuples, but
14091409
* are doing a left/full join and therefore must null- fill
1410-
* any remaing unmatched outer tuples.
1410+
* any remaining unmatched outer tuples.
14111411
*/
14121412
case EXEC_MJ_ENDINNER:
14131413
MJ_printf("ExecMergeJoin: EXEC_MJ_ENDINNER\n");

src/backend/libpq/auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static int pg_krb5_recvauth(Port *port);
145145
#include <com_err.h>
146146
#endif
147147
/*
148-
* Various krb5 state which is not connection specfic, and a flag to
148+
* Various krb5 state which is not connection specific, and a flag to
149149
* indicate whether we have initialised it yet.
150150
*/
151151
static int pg_krb5_initialised;

src/backend/parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9631,7 +9631,7 @@ SimpleTypename:
96319631
* makes no sense for constructs like CHAR 'hi' and BIT '0101',
96329632
* where there is an obvious better choice to make.
96339633
* Note that ConstInterval is not included here since it must
9634-
* be pushed up higher in the rules to accomodate the postfix
9634+
* be pushed up higher in the rules to accommodate the postfix
96359635
* options (e.g. INTERVAL '1' YEAR). Likewise, we have to handle
96369636
* the generic-type-name case in AExprConst to avoid premature
96379637
* reduce/reduce conflicts against function names.

src/backend/parser/parse_collate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/*
5050
* Collation strength (the SQL standard calls this "derivation"). Order is
5151
* chosen to allow comparisons to work usefully. Note: the standard doesn't
52-
* seem to distingish between NONE and CONFLICT.
52+
* seem to distinguish between NONE and CONFLICT.
5353
*/
5454
typedef enum
5555
{

src/backend/port/win32/socket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ pgwin32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, c
486486

487487
/*
488488
* Not completed, and not just "would block", so an error
489-
* occured
489+
* occurred
490490
*/
491491
FD_SET(writefds->fd_array[i], &outwritefds);
492492
}

src/backend/postmaster/checkpointer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ BgWriterShmemInit(void)
888888
* CHECKPOINT_END_OF_RECOVERY: checkpoint is for end of WAL recovery.
889889
* CHECKPOINT_IMMEDIATE: finish the checkpoint ASAP,
890890
* ignoring checkpoint_completion_target parameter.
891-
* CHECKPOINT_FORCE: force a checkpoint even if no XLOG activity has occured
891+
* CHECKPOINT_FORCE: force a checkpoint even if no XLOG activity has occurred
892892
* since the last one (implied by CHECKPOINT_IS_SHUTDOWN or
893893
* CHECKPOINT_END_OF_RECOVERY).
894894
* CHECKPOINT_WAIT: wait for completion before returning (otherwise,

src/backend/storage/file/reinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ ResetUnloggedRelationsInDbspaceDir(const char *dbspacedirname, int op)
345345
/*
346346
* Basic parsing of putative relation filenames.
347347
*
348-
* This funtion returns true if the file appears to be in the correct format
348+
* This function returns true if the file appears to be in the correct format
349349
* for a non-temporary relation and false otherwise.
350350
*
351351
* NB: If this function returns true, the caller is entitled to assume that

src/backend/storage/ipc/procarray.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,10 @@ ProcArrayAdd(PGPROC *proc)
279279
/*
280280
* Keep the procs array sorted by (PGPROC *) so that we can utilize
281281
* locality of references much better. This is useful while traversing the
282-
* ProcArray because there is a increased likelyhood of finding the next
282+
* ProcArray because there is a increased likelihood of finding the next
283283
* PGPROC structure in the cache.
284284
*
285-
* Since the occurance of adding/removing a proc is much lower than the
285+
* Since the occurrence of adding/removing a proc is much lower than the
286286
* access to the ProcArray itself, the overhead should be marginal
287287
*/
288288
for (index = 0; index < arrayP->numProcs; index++)

src/backend/storage/lmgr/predicate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ InitPredicateLocks(void)
12341234
* that this will prevent resource exhaustion in even the most pessimal
12351235
* loads up to max_connections = 200 with all 200 connections pounding the
12361236
* database with serializable transactions. Beyond that, there may be
1237-
* occassional transactions canceled when trying to flag conflicts. That's
1237+
* occasional transactions canceled when trying to flag conflicts. That's
12381238
* probably OK.
12391239
*/
12401240
max_table_size *= 5;

src/backend/utils/adt/acl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ acldefault(GrantObjectType objtype, Oid ownerId)
821821
* owner's ordinary privileges are self-granted; this lets him revoke
822822
* them. We implement the owner's grant options without any explicit
823823
* "_SYSTEM"-like ACL entry, by internally special-casing the owner
824-
* whereever we are testing grant options.
824+
* wherever we are testing grant options.
825825
*/
826826
if (owner_default != ACL_NO_RIGHTS)
827827
{

src/backend/utils/adt/formatting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2186,7 +2186,7 @@ from_char_parse_int_len(int *dest, char **src, const int len, FormatNode *node)
21862186
* Don't call this function if the field differs in length from the format
21872187
* keyword (as with HH24; the keyword length is 4, but the field length is 2).
21882188
* In such cases, call from_char_parse_int_len() instead to specify the
2189-
* required length explictly.
2189+
* required length explicitly.
21902190
*/
21912191
static int
21922192
from_char_parse_int(int *dest, char **src, FormatNode *node)

src/backend/utils/adt/tsquery_cleanup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ freetree(NODE *node)
124124

125125
/*
126126
* clean tree for ! operator.
127-
* It's usefull for debug, but in
127+
* It's useful for debug, but in
128128
* other case, such view is used with search in index.
129129
* Operator ! always return TRUE
130130
*/

src/backend/utils/adt/tsrank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ Cover(DocRepresentation *doc, int len, QueryRepresentation *qr, Extention *ext)
603603
if (ext->p <= ext->q)
604604
{
605605
/*
606-
* set position for next try to next lexeme after begining of founded
606+
* set position for next try to next lexeme after beginning of found
607607
* cover
608608
*/
609609
ext->pos = (ptr - doc) + 1;

src/backend/utils/mb/wchar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pg_euccn2wchar_with_len(const unsigned char *from, pg_wchar *to, int len)
214214
*to |= *from++;
215215
len -= 3;
216216
}
217-
else if (*from == SS3 && len >= 3) /* code set 3 (unsed ?) */
217+
else if (*from == SS3 && len >= 3) /* code set 3 (unused ?) */
218218
{
219219
from++;
220220
*to = (SS3 << 16) | (*from++ << 8);

0 commit comments

Comments
 (0)