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

Commitc96581a

Browse files
committed
Fix inconsistencies and typos in the tree, take 11
This fixes various typos in docs and comments, and removes some orphaneddefinitions.Author: Alexander LakhinDiscussion:https://postgr.es/m/5da8e325-c665-da95-21e0-c8a99ea61fbf@gmail.com
1 parent927f34c commitc96581a

File tree

48 files changed

+60
-65
lines changed

Some content is hidden

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

48 files changed

+60
-65
lines changed

‎contrib/hstore/hstore_op.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ hstore_slice_to_hstore(PG_FUNCTION_ARGS)
682682
}
683683

684684
/*
685-
* we don't useuniquePairs here because we know that the pairs list is
686-
* already sorted and uniq'ed.
685+
* we don't usehstoreUniquePairs here because we know that the pairs list
686+
*isalready sorted and uniq'ed.
687687
*/
688688

689689
out=hstorePairs(out_pairs,out_count,bufsiz);

‎doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,7 @@
28752875
</row>
28762876

28772877
<row>
2878-
<entry><literal>tcvn_to_utf8</literal></entry>
2878+
<entry><literal>windows_1258_to_utf8</literal></entry>
28792879
<entry><literal>WIN1258</literal></entry>
28802880
<entry><literal>UTF8</literal></entry>
28812881
</row>
@@ -3037,7 +3037,7 @@
30373037
</row>
30383038

30393039
<row>
3040-
<entry><literal>utf8_to_tcvn</literal></entry>
3040+
<entry><literal>utf8_to_windows_1258</literal></entry>
30413041
<entry><literal>UTF8</literal></entry>
30423042
<entry><literal>WIN1258</literal></entry>
30433043
</row>

‎doc/src/sgml/gist.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -697,8 +697,8 @@ my_picksplit(PG_FUNCTION_ARGS)
697697

698698
/*
699699
* Choose where to put the index entries and update unionL and unionR
700-
* accordingly. Append the entries to eitherv_spl_left or
701-
*v_spl_right, and care about the counters.
700+
* accordingly. Append the entries to eitherv-&gt;spl_left or
701+
*v-&gt;spl_right, and care about the counters.
702702
*/
703703

704704
if (my_choice_is_left(unionL, curl, unionR, curr))

‎src/backend/access/heap/tuptoaster.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
#include"utils/typcache.h"
4545

4646

47-
#undef TOAST_DEBUG
48-
4947
/*
5048
*The information at the start of the compressed toast data.
5149
*/

‎src/backend/access/transam/varsup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ ForceTransactionIdLimitUpdate(void)
488488
if (!TransactionIdIsValid(xidVacLimit))
489489
return true;/* this shouldn't happen anymore either */
490490
if (TransactionIdFollowsOrEquals(nextXid,xidVacLimit))
491-
return true;/* pastVacLimit, don't delay updating */
491+
return true;/* pastxidVacLimit, don't delay updating */
492492
if (!SearchSysCacheExists1(DATABASEOID,ObjectIdGetDatum(oldestXidDB)))
493493
return true;/* could happen, per comments above */
494494
return false;

‎src/backend/access/transam/xact.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ intsynchronous_commit = SYNCHRONOUS_COMMIT_ON;
9292
* in the user backend, so we need some additional bookkeeping.
9393
*
9494
* XactTopFullTransactionId stores the XID of our toplevel transaction, which
95-
* will be the same asTopTransactionState.fullTransactionId in an ordinary
96-
* backend; but in a parallel backend, which does not have the entire
95+
* will be the same asTopTransactionStateData.fullTransactionId in an
96+
*ordinarybackend; but in a parallel backend, which does not have the entire
9797
* transaction state, it will instead be copied from the backend that started
9898
* the parallel operation.
9999
*

‎src/backend/access/transam/xlog.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ typedef struct XLogCtlData
626626

627627
/*
628628
* These values do not change after startup, although the pointed-to pages
629-
* and xlblocks values certainly do.xlblock values are protected by
629+
* and xlblocks values certainly do.xlblocks values are protected by
630630
* WALBufMappingLock.
631631
*/
632632
char*pages;/* buffers for unwritten XLOG pages */
@@ -743,7 +743,7 @@ static ControlFileData *ControlFile = NULL;
743743
*/
744744
#defineUsableBytesInPage (XLOG_BLCKSZ - SizeOfXLogShortPHD)
745745

746-
/* Convert min_wal_size_mb andmax wal_size_mb to equivalent segment count */
746+
/* Convert min_wal_size_mb andmax_wal_size_mb to equivalent segment count */
747747
#defineConvertToXSegs(x,segsize)\
748748
(x / ((segsize) / (1024 * 1024)))
749749

@@ -903,7 +903,7 @@ static XLogRecord *ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr,
903903
intemode,boolfetching_ckpt);
904904
staticvoidCheckRecoveryConsistency(void);
905905
staticXLogRecord*ReadCheckpointRecord(XLogReaderState*xlogreader,
906-
XLogRecPtrRecPtr,intwhichChkpti,boolreport);
906+
XLogRecPtrRecPtr,intwhichChkpt,boolreport);
907907
staticboolrescanLatestTimeLine(void);
908908
staticvoidWriteControlFile(void);
909909
staticvoidReadControlFile(void);
@@ -3049,9 +3049,9 @@ XLogBackgroundFlush(void)
30493049
elseif (TimestampDifferenceExceeds(lastflush,now,WalWriterDelay))
30503050
{
30513051
/*
3052-
* Flush the writes at least everyWalWriteDelay ms. This is important
3053-
* to bound the amount of time it takes for an asynchronous commit to
3054-
* hit disk.
3052+
* Flush the writes at least everyWalWriterDelay ms. This is
3053+
*importantto bound the amount of time it takes for an asynchronous
3054+
*commit tohit disk.
30553055
*/
30563056
WriteRqst.Flush=WriteRqst.Write;
30573057
lastflush=now;
@@ -8442,7 +8442,7 @@ LogCheckpointEnd(bool restartpoint)
84428442
* Update the estimate of distance between checkpoints.
84438443
*
84448444
* The estimate is used to calculate the number of WAL segments to keep
8445-
* preallocated, seeXLOGFileSlop().
8445+
* preallocated, seeXLOGfileslop().
84468446
*/
84478447
staticvoid
84488448
UpdateCheckPointDistanceEstimate(uint64nbytes)

‎src/backend/access/transam/xlogfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ pg_stop_backup_v2(PG_FUNCTION_ARGS)
267267
values[0]=LSNGetDatum(stoppoint);
268268

269269
tuplestore_putvalues(tupstore,tupdesc,values,nulls);
270-
tuplestore_donestoring(typstore);
270+
tuplestore_donestoring(tupstore);
271271

272272
return (Datum)0;
273273
}

‎src/backend/access/transam/xlogutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ XLogReadBufferExtended(RelFileNode rnode, ForkNumber forknum,
523523
}
524524

525525
/*
526-
* Struct actually returned byXLogFakeRelcacheEntry, though the declared
526+
* Struct actually returned byCreateFakeRelcacheEntry, though the declared
527527
* return type is Relation.
528528
*/
529529
typedefstruct

‎src/backend/commands/vacuum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ get_all_vacuum_rels(int options)
863863
* DEAD or RECENTLY_DEAD (see HeapTupleSatisfiesVacuum).
864864
* - freezeLimit is the Xid below which all Xids are replaced by
865865
* FrozenTransactionId during vacuum.
866-
* - xidFullScanLimit (computed fromtable_freeze_age parameter)
866+
* - xidFullScanLimit (computed fromfreeze_table_age parameter)
867867
* represents a minimum Xid value; a table whose relfrozenxid is older than
868868
* this will have a full-table vacuum applied to it, to freeze tuples across
869869
* the whole table. Vacuuming a table younger than this value can use a

‎src/backend/executor/execExpr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,7 @@ ExecInitExprRec(Expr *node, ExprState *state,
17761776
scratch.d.rowcompare_final.rctype=rcexpr->rctype;
17771777
ExprEvalPushStep(state,&scratch);
17781778

1779-
/* adjust jumptargetss */
1779+
/* adjust jumptargets */
17801780
foreach(lc,adjust_jumps)
17811781
{
17821782
ExprEvalStep*as=&state->steps[lfirst_int(lc)];

‎src/backend/executor/nodeTidscan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ TidRecheck(TidScanState *node, TupleTableSlot *slot)
432432
*Initial States:
433433
* -- the relation indicated is opened for scanning so that the
434434
* "cursor" is positioned before the first qualifying tuple.
435-
* --tidPtr is -1.
435+
* --tss_TidPtr is -1.
436436
* ----------------------------------------------------------------
437437
*/
438438
staticTupleTableSlot*
@@ -498,7 +498,7 @@ ExecEndTidScan(TidScanState *node)
498498
*scan keys, and opens the base and tid relations.
499499
*
500500
*Parameters:
501-
* node:TidNode node produced by the planner.
501+
* node:TidScan node produced by the planner.
502502
* estate: the execution state initialized in InitPlan.
503503
* ----------------------------------------------------------------
504504
*/

‎src/backend/port/win32/crashdump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*-------------------------------------------------------------------------
22
*
3-
*win32_crashdump.c
3+
*crashdump.c
44
* Automatic crash dump creation for PostgreSQL on Windows
55
*
66
* The crashdump feature traps unhandled win32 exceptions produced by the

‎src/backend/postmaster/pgstat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ pgstat_report_stat(bool force)
893893
this_msg->m_nentries=0;
894894
}
895895
}
896-
/* zero outTableStatus structs after use */
896+
/* zero outPgStat_TableStatus structs after use */
897897
MemSet(tsa->tsa_entries,0,
898898
tsa->tsa_used*sizeof(PgStat_TableStatus));
899899
tsa->tsa_used=0;

‎src/backend/postmaster/syslogger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ write_syslogger_file(const char *buffer, int count, int destination)
11141114
/*
11151115
* Worker thread to transfer data from the pipe to the current logfile.
11161116
*
1117-
* We need this because on Windows,WaitforMultipleObjects does not work on
1117+
* We need this because on Windows,WaitForMultipleObjects does not work on
11181118
* unnamed pipes: it always reports "signaled", so the blocking ReadFile won't
11191119
* allow for SIGHUP; and select is for sockets only.
11201120
*/

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3368,7 +3368,7 @@ ApplyLogicalMappingFile(HTAB *tuplecid_data, Oid relid, const char *fname)
33683368

33693369

33703370
/*
3371-
* Check whether theTransactionOid 'xid' is in the pre-sorted array 'xip'.
3371+
* Check whether theTransactionId 'xid' is in the pre-sorted array 'xip'.
33723372
*/
33733373
staticbool
33743374
TransactionIdInArray(TransactionIdxid,TransactionId*xip,Sizenum)

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ CreateReplicationSlot(CreateReplicationSlotCmd *cmd)
866866

867867
parseCreateReplSlotOptions(cmd,&reserve_wal,&snapshot_action);
868868

869-
/* setup state forXLogReadPage */
869+
/* setup state forXLogRead */
870870
sendTimeLineIsHistoric= false;
871871
sendTimeLine=ThisTimeLineID;
872872

‎src/backend/statistics/extended_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ statext_clauselist_selectivity(PlannerInfo *root, List *clauses, int varRelid,
11891189
}
11901190

11911191
/*
1192-
*examine_operator_expression
1192+
*examine_opclause_expression
11931193
*Split expression into Var and Const parts.
11941194
*
11951195
* Attempts to match the arguments to either (Var op Const) or (Const op Var),

‎src/backend/storage/file/fd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ static intnextTempTableSpace = 0;
269269
* LruInsert - put a file at the front of the Lru ring and open it
270270
* ReleaseLruFile - Release an fd by closing the last entry in the Lru ring
271271
* ReleaseLruFiles - Release fd(s) until we're under the max_safe_fds limit
272-
* AllocateVfd - grab a free (or new) file record (fromVfdArray)
272+
* AllocateVfd - grab a free (or new) file record (fromVfdCache)
273273
* FreeVfd - free a file record
274274
*
275275
* The Least Recently Used ring is a doubly linked list that begins and

‎src/backend/storage/lmgr/lmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ SpeculativeInsertionWait(TransactionId xid, uint32 token)
792792
}
793793

794794
/*
795-
*XactLockTableWaitErrorContextCb
795+
*XactLockTableWaitErrorCb
796796
*Error context callback for transaction lock waits.
797797
*/
798798
staticvoid

‎src/backend/tsearch/dict_synonym.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ typedef struct
3737
* Finds the next whitespace-delimited word within the 'in' string.
3838
* Returns a pointer to the first character of the word, and a pointer
3939
* to the next byte after the last character in the word (in *end).
40-
* Character '*' at the end of word will not bethreated as word
40+
* Character '*' at the end of word will not betreated as word
4141
* character if flags is not null.
4242
*/
4343
staticchar*

‎src/backend/tsearch/ts_parse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ LexizeExec(LexizeData *ld, ParsedLex **correspondLexem)
282282
if (!dictExists)
283283
{
284284
/*
285-
* Dictionary can't work with currenttpe of lexeme,
285+
* Dictionary can't work with currenttype of lexeme,
286286
* return to basic mode and redo all stored lexemes
287287
*/
288288
ld->curDictId=InvalidOid;

‎src/backend/utils/adt/arrayfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,7 +1997,7 @@ array_get_element_expanded(Datum arraydatum,
19971997

19981998
/*
19991999
* array_get_slice :
2000-
* This routine takes an array and a range of indices (upperIndex and
2000+
* This routine takes an array and a range of indices (upperIndx and
20012001
* lowerIndx), creates a new array structure for the referred elements
20022002
* and returns a pointer to it.
20032003
*

‎src/backend/utils/adt/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ network_abbrev_abort(int memtupcount, SortSupport ssup)
579579
* IPv4 addresses have a maximum of 32 bits compared to IPv6's 64 bits, so in
580580
* IPv6 each part may be larger.
581581
*
582-
* inet/cdir types compare using these sorting rules. If inequality is detected
582+
* inet/cidr types compare using these sorting rules. If inequality is detected
583583
* at any step, comparison is finished. If any rule is a tie, the algorithm
584584
* drops through to the next to break it:
585585
*

‎src/backend/utils/adt/pg_locale.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ char2wchar(wchar_t *to, size_t tolen, const char *from, size_t fromlen,
19161916
* error message by letting pg_verifymbstr check the string. But it's
19171917
* possible that the string is OK to us, and not OK to mbstowcs ---
19181918
* this suggests that the LC_CTYPE locale is different from the
1919-
* database encoding. Give a generic error message ifverifymbstr
1919+
* database encoding. Give a generic error message ifpg_verifymbstr
19201920
* can't find anything wrong.
19211921
*/
19221922
pg_verifymbstr(from,fromlen, false);/* might not return */

‎src/backend/utils/mmgr/freepage.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,8 +742,8 @@ FreePageBtreeConsolidate(FreePageManager *fpm, FreePageBtree *btp)
742742

743743
/*
744744
* If we can fit our keys onto our left sibling's page, consolidate. In
745-
* this case, we move our keys onto the other page rather thanvisca
746-
*versa,to avoid having to adjust ancestor keys.
745+
* this case, we move our keys onto the other page rather thanvice versa,
746+
* to avoid having to adjust ancestor keys.
747747
*/
748748
np=FreePageBtreeFindLeftSibling(base,btp);
749749
if (np!=NULL&&btp->hdr.nused+np->hdr.nused <=max)

‎src/bin/pg_basebackup/walmethods.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct WalWriteMethod
8181
/*
8282
* Available WAL methods:
8383
*- WalDirectoryMethod - write WAL to regular files in a standard pg_wal
84-
*-TarDirectoryMethod - write WAL to a tarfile corresponding to pg_wal
84+
*-WalTarMethod - write WAL to a tarfile corresponding to pg_wal
8585
* (only implements the methods required for pg_basebackup,
8686
* not all those required for pg_receivewal)
8787
*/

‎src/bin/pg_dump/pg_backup_tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ _tarReadRaw(ArchiveHandle *AH, void *buf, size_t len, TAR_MEMBER *th, FILE *fh)
568568
}
569569
}
570570
else
571-
fatal("internal error -- neither th nor fh specified intarReadRaw()");
571+
fatal("internal error -- neither th nor fh specified in_tarReadRaw()");
572572
}
573573

574574
ctx->tarFHpos+=res+used;

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17834,7 +17834,7 @@ processExtensionTables(Archive *fout, ExtensionInfo extinfo[],
1783417834
}
1783517835

1783617836
/*
17837-
* Now that all theTableInfoData objects have been created for all the
17837+
* Now that all theTableDataInfo objects have been created for all the
1783817838
* extensions, check their FK dependencies and register them to try and
1783917839
* dump the data out in an order that they can be restored in.
1784017840
*

‎src/bin/pg_rewind/parsexlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ findLastCheckpoint(const char *datadir, XLogRecPtr forkptr, int tliIndex,
234234
}
235235
}
236236

237-
/*XLogreader callback function, to read a WAL page */
237+
/*XLogReader callback function, to read a WAL page */
238238
staticint
239239
SimpleXLogPageRead(XLogReaderState*xlogreader,XLogRecPtrtargetPagePtr,
240240
intreqLen,XLogRecPtrtargetRecPtr,char*readBuf,

‎src/bin/pg_upgrade/pg_upgrade.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
/* Use port in the private/dynamic port number range */
1616
#defineDEF_PGUPORT50432
1717

18-
/* Allocate for null byte */
19-
#defineUSER_NAME_SIZE128
20-
2118
#defineMAX_STRING1024
2219
#defineQUERY_ALLOC8192
2320

‎src/include/access/brin_xlog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ typedef struct xl_brin_insert
7777
* A cross-page update is the same as an insert, but also stores information
7878
* about the old tuple.
7979
*
80-
* Like inxlog_brin_update:
80+
* Like inxl_brin_insert:
8181
* Backup block 0: new page, block data includes the new BrinTuple.
8282
* Backup block 1: revmap page
8383
*

‎src/include/access/heapam_xlog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ typedef struct xl_heap_insert
168168
*
169169
* In block 0's data portion, there is an xl_multi_insert_tuple struct,
170170
* followed by the tuple data for each tuple. There is padding to align
171-
* eachxl_multi_insert struct.
171+
* eachxl_multi_insert_tuple struct.
172172
*/
173173
typedefstructxl_heap_multi_insert
174174
{

‎src/include/access/htup_details.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ struct HeapTupleHeaderData
233233

234234
/*
235235
* A tuple that has HEAP_XMAX_IS_MULTI and HEAP_XMAX_LOCK_ONLY but neither of
236-
*XMAX_EXCL_LOCK andXMAX_KEYSHR_LOCK must come from a tuple that was
236+
*HEAP_XMAX_EXCL_LOCK andHEAP_XMAX_KEYSHR_LOCK must come from a tuple that was
237237
* share-locked in 9.2 or earlier and then pg_upgrade'd.
238238
*
239239
* In 9.2 and prior, HEAP_XMAX_IS_MULTI was only set when there were multiple

‎src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ typedef struct XLogPageHeaderData
4545
* continue on the next page. xlp_rem_len is the number of bytes
4646
* remaining from a previous page.
4747
*
48-
* Note thatxl_rem_len includes backup-block data; that is, it tracks
48+
* Note thatxlp_rem_len includes backup-block data; that is, it tracks
4949
* xl_tot_len not xl_len in the initial header. Also note that the
5050
* continuation data isn't necessarily aligned.
5151
*/

‎src/include/commands/explain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ extern void ExplainPrintTriggers(ExplainState *es, QueryDesc *queryDesc);
8484

8585
externvoidExplainPrintJITSummary(ExplainState*es,QueryDesc*queryDesc);
8686
externvoidExplainPrintJIT(ExplainState*es,intjit_flags,
87-
structJitInstrumentation*jit_instr,intworker_i);
87+
structJitInstrumentation*jit_instr,intworker_num);
8888

8989
externvoidExplainQueryText(ExplainState*es,QueryDesc*queryDesc);
9090

‎src/include/fe_utils/psqlscan_int.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* is the start state number, which is easy enough to manage --- usually,
2828
* in fact, we just need to set it to INITIAL when changing lexers. But to
2929
* make that work at all, we must use re-entrant lexers, so that all the
30-
* relevant state is in theyyscanner_t attached to the PsqlScanState;
30+
* relevant state is in theyyscan_t attached to the PsqlScanState;
3131
* if we were using lexers with separate static state we would soon end up
3232
* with dangling buffer pointers in one or the other. Also note that this
3333
* is unlikely to work very nicely if the lexers aren't all built with the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp