mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Add contrib/pg_walinspect.
Provides similar functionality to pg_waldump, but from a SQL interface rather than a separate utility. Author: Bharath Rupireddy Reviewed-by: Greg Stark, Kyotaro Horiguchi, Andres Freund, Ashutosh Sharma, Nitin Jadhav, RKN Sai Krishna Discussion: https://postgr.es/m/CALj2ACUGUYXsEQdKhEdsBzhGEyF3xggvLdD8C0VT72TNEfOiog%40mail.gmail.com
This commit is contained in:
@ -1320,13 +1320,6 @@ XLogReaderValidatePageHeader(XLogReaderState *state, XLogRecPtr recptr,
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef FRONTEND
|
||||
/*
|
||||
* Functions that are currently not needed in the backend, but are better
|
||||
* implemented inside xlogreader.c because of the internal facilities available
|
||||
* here.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Find the first record with an lsn >= RecPtr.
|
||||
*
|
||||
@ -1447,8 +1440,6 @@ err:
|
||||
return InvalidXLogRecPtr;
|
||||
}
|
||||
|
||||
#endif /* FRONTEND */
|
||||
|
||||
/*
|
||||
* Helper function to ease writing of XLogRoutine->page_read callbacks.
|
||||
* If this function is used, caller must supply a segment_open callback in
|
||||
|
Reference in New Issue
Block a user