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

Commit3412030

Browse files
committed
Fix more typos and inconsistencies in the tree
Author: Alexander LakhinDiscussion:https://postgr.es/m/0a5419ea-1452-a4e6-72ff-545b1a5a8076@gmail.com
1 parent9d20b0e commit3412030

File tree

41 files changed

+56
-56
lines changed

Some content is hidden

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

41 files changed

+56
-56
lines changed

‎contrib/jsonb_plpython/jsonb_plpython.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ PLyObject_FromJsonbValue(JsonbValue *jsonbValue)
133133
}
134134

135135
/*
136-
*PLyObject_FromJsonb
136+
*PLyObject_FromJsonbContainer
137137
*
138138
* Transform JsonbContainer to PyObject.
139139
*/

‎contrib/pg_prewarm/autoprewarm.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ apw_load_buffers(void)
356356
Oidcurrent_db=blkinfo[j].database;
357357

358358
/*
359-
* Advance the prewarm_stop_idx to the firstBlockRecordInfo that does
359+
* Advance the prewarm_stop_idx to the firstBlockInfoRecord that does
360360
* not belong to this database.
361361
*/
362362
j++;
@@ -365,7 +365,7 @@ apw_load_buffers(void)
365365
if (current_db!=blkinfo[j].database)
366366
{
367367
/*
368-
* CombineBlockRecordInfos for global objects with those of
368+
* CombineBlockInfoRecords for global objects with those of
369369
* the database.
370370
*/
371371
if (current_db!=InvalidOid)
@@ -378,7 +378,7 @@ apw_load_buffers(void)
378378

379379
/*
380380
* If we reach this point with current_db == InvalidOid, then only
381-
*BlockRecordInfos belonging to global objects exist. We can't
381+
*BlockInfoRecords belonging to global objects exist. We can't
382382
* prewarm without a database connection, so just bail out.
383383
*/
384384
if (current_db==InvalidOid)

‎contrib/pg_trgm/trgm_op.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ iterate_word_similarity(int *trg2indexes,
500500
word_similarity_threshold;
501501

502502
/*
503-
* Consider first trigram as initial lowerbount for strict word
503+
* Consider first trigram as initial lowerbound for strict word
504504
* similarity, or initialize it later with first trigram present for plain
505505
* word similarity.
506506
*/

‎src/backend/access/common/session.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ GetSessionDsmHandle(void)
133133
* If we got this far, we can pin the shared memory so it stays mapped for
134134
* the rest of this backend's life. If we don't make it this far, cleanup
135135
* callbacks for anything we installed above (ie currently
136-
*SharedRecordTypemodRegistry) will run when the DSM segment is detached
136+
*SharedRecordTypmodRegistry) will run when the DSM segment is detached
137137
* by CurrentResourceOwner so we aren't left with a broken CurrentSession.
138138
*/
139139
dsm_pin_mapping(seg);

‎src/backend/access/hash/hash.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ hashgetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
340340

341341
/*
342342
* _hash_first and _hash_next handle eliminate dead index entries
343-
* whenever scan->ignored_killed_tuples is true. Therefore, there's
343+
* whenever scan->ignore_killed_tuples is true. Therefore, there's
344344
* nothing to do here except add the results to the TIDBitmap.
345345
*/
346346
tbm_add_tuples(tbm,&(currItem->heapTid),1, true);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3364,7 +3364,7 @@ PreventInTransactionBlock(bool isTopLevel, const char *stmtType)
33643364
}
33653365

33663366
/*
3367-
*WarnNoTranactionBlock
3367+
*WarnNoTransactionBlock
33683368
*RequireTransactionBlock
33693369
*
33703370
*These two functions allow for warnings or errors if a command is executed

‎src/backend/catalog/index.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ AppendAttributeTuples(Relation indexRelation, int numatts)
528528
staticvoid
529529
UpdateIndexRelation(Oidindexoid,
530530
Oidheapoid,
531-
OidparentIndexOid,
531+
OidparentIndexId,
532532
IndexInfo*indexInfo,
533533
Oid*collationOids,
534534
Oid*classOids,

‎src/backend/catalog/partition.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ get_default_partition_oid(Oid parentId)
319319
/*
320320
* update_default_partition_oid
321321
*
322-
* Updatepg_partition_table.partdefid with a new default partition OID.
322+
* Updatepg_partitioned_table.partdefid with a new default partition OID.
323323
*/
324324
void
325325
update_default_partition_oid(OidparentId,OiddefaultPartId)

‎src/backend/commands/copy.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,8 +829,8 @@ CopyLoadRawBuf(CopyState cstate)
829829
* input/output stream. The latter could be either stdin/stdout or a
830830
* socket, depending on whether we're running under Postmaster control.
831831
*
832-
* Do not allow a Postgres user without the 'pg_access_server_files' role to
833-
* read from or write to a file.
832+
* Do not allow a Postgres user without the 'pg_read_server_files' or
833+
*'pg_write_server_files' role toread from or write to a file.
834834
*
835835
* Do not allow the copy if user doesn't have proper permission to access
836836
* the table or the specifically requested columns.

‎src/backend/commands/functioncmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ compute_return_type(TypeName *returnType, Oid languageOid,
170170
* Input parameters:
171171
* parameters: list of FunctionParameter structs
172172
* languageOid: OID of function language (InvalidOid if it's CREATE AGGREGATE)
173-
*is_aggregate: needed only to determine error handling
173+
*objtype: needed only to determine error handling and required result type
174174
*
175175
* Results are stored into output parameters. parameterTypes must always
176176
* be created, but the other arrays are set to NULL if not needed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp