Remove global variable "LastRec" in xlog.c
Michael Paquier <michael@paquier.xyz>
Remove global variable "LastRec" in xlog.c This variable is used only by StartupXLOG() now, so let's make it local to simplify the code. Author: Amul Sul Reviewed-by: Tom Lane, Michael Paquier Discussion: https://postgr.es/m/CAAJ_b96Qd023itERBRN9Z7P2saNDT3CYvGuMO8RXwndVNN6z7g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +1 −2 |
Discussion
- Unnecessary global variable declared in xlog.c 5 messages · 2021-11-16 → 2021-11-17