diff options
| author | Michael Paquier | 2019-07-08 04:15:09 +0000 |
|---|---|---|
| committer | Michael Paquier | 2019-07-08 04:15:09 +0000 |
| commit | 6b8548964bccd0f2e65c687d591b7345d5146bfa (patch) | |
| tree | 29cddb4e0aa0bc59b02850daf6f508394f8f0ec1 /src/include/access | |
| parent | 7e9a4c5c3dca0d9637812d8991e96fc8f46800d9 (diff) | |
Fix inconsistencies in the code
This addresses a couple of issues in the code:
- Typos and inconsistencies in comments and function declarations.
- Removal of unreferenced function declarations.
- Removal of unnecessary compile flags.
- A cleanup error in regressplans.sh.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/heapam.h | 2 | ||||
| -rw-r--r-- | src/include/access/timeline.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h index dffb57bf11a..858bcb6bc96 100644 --- a/src/include/access/heapam.h +++ b/src/include/access/heapam.h @@ -112,7 +112,7 @@ extern TableScanDesc heap_beginscan(Relation relation, Snapshot snapshot, ParallelTableScanDesc parallel_scan, uint32 flags); extern void heap_setscanlimits(TableScanDesc scan, BlockNumber startBlk, - BlockNumber endBlk); + BlockNumber numBlks); extern void heapgetpage(TableScanDesc scan, BlockNumber page); extern void heap_rescan(TableScanDesc scan, ScanKey key, bool set_params, bool allow_strat, bool allow_sync, bool allow_pagemode); diff --git a/src/include/access/timeline.h b/src/include/access/timeline.h index a6dc2edb893..e83a73a3f1e 100644 --- a/src/include/access/timeline.h +++ b/src/include/access/timeline.h @@ -36,7 +36,7 @@ extern void writeTimeLineHistory(TimeLineID newTLI, TimeLineID parentTLI, XLogRecPtr switchpoint, char *reason); extern void writeTimeLineHistoryFile(TimeLineID tli, char *content, int size); extern void restoreTimeLineHistoryFiles(TimeLineID begin, TimeLineID end); -extern bool tliInHistory(TimeLineID tli, List *expectedTLIs); +extern bool tliInHistory(TimeLineID tli, List *expectedTLEs); extern TimeLineID tliOfPointInHistory(XLogRecPtr ptr, List *history); extern XLogRecPtr tliSwitchPoint(TimeLineID tli, List *history, TimeLineID *nextTLI); |
