mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Fix many typos and inconsistencies
Author: Alexander Lakhin Discussion: https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
This commit is contained in:
@@ -621,8 +621,8 @@ btparallelrescan(IndexScanDesc scan)
|
||||
|
||||
/*
|
||||
* _bt_parallel_seize() -- Begin the process of advancing the scan to a new
|
||||
* page. Other scans must wait until we call bt_parallel_release() or
|
||||
* bt_parallel_done().
|
||||
* page. Other scans must wait until we call _bt_parallel_release()
|
||||
* or _bt_parallel_done().
|
||||
*
|
||||
* The return value is true if we successfully seized the scan and false
|
||||
* if we did not. The latter case occurs if no pages remain for the current
|
||||
|
@@ -181,7 +181,7 @@ btree_xlog_insert(bool isleaf, bool ismeta, XLogReaderState *record)
|
||||
|
||||
if (PageAddItem(page, (Item) datapos, datalen, xlrec->offnum,
|
||||
false, false) == InvalidOffsetNumber)
|
||||
elog(PANIC, "btree_insert_redo: failed to add item");
|
||||
elog(PANIC, "btree_xlog_insert: failed to add item");
|
||||
|
||||
PageSetLSN(page, lsn);
|
||||
MarkBufferDirty(buffer);
|
||||
|
Reference in New Issue
Block a user