mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix more typos and inconsistencies in the tree
Author: Alexander Lakhin Discussion: https://postgr.es/m/0a5419ea-1452-a4e6-72ff-545b1a5a8076@gmail.com
This commit is contained in:
@ -133,7 +133,7 @@ GetSessionDsmHandle(void)
|
||||
* If we got this far, we can pin the shared memory so it stays mapped for
|
||||
* the rest of this backend's life. If we don't make it this far, cleanup
|
||||
* callbacks for anything we installed above (ie currently
|
||||
* SharedRecordTypemodRegistry) will run when the DSM segment is detached
|
||||
* SharedRecordTypmodRegistry) will run when the DSM segment is detached
|
||||
* by CurrentResourceOwner so we aren't left with a broken CurrentSession.
|
||||
*/
|
||||
dsm_pin_mapping(seg);
|
||||
|
@ -340,7 +340,7 @@ hashgetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
|
||||
|
||||
/*
|
||||
* _hash_first and _hash_next handle eliminate dead index entries
|
||||
* whenever scan->ignored_killed_tuples is true. Therefore, there's
|
||||
* whenever scan->ignore_killed_tuples is true. Therefore, there's
|
||||
* nothing to do here except add the results to the TIDBitmap.
|
||||
*/
|
||||
tbm_add_tuples(tbm, &(currItem->heapTid), 1, true);
|
||||
|
@ -3364,7 +3364,7 @@ PreventInTransactionBlock(bool isTopLevel, const char *stmtType)
|
||||
}
|
||||
|
||||
/*
|
||||
* WarnNoTranactionBlock
|
||||
* WarnNoTransactionBlock
|
||||
* RequireTransactionBlock
|
||||
*
|
||||
* These two functions allow for warnings or errors if a command is executed
|
||||
|
Reference in New Issue
Block a user