archive.h 632 B

123456789101112131415161718192021
  1. /*-------------------------------------------------------------------------
  2. *
  3. * archive.h
  4. * Routines to access WAL archives from frontend
  5. *
  6. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/fe_utils/archive.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef FE_ARCHIVE_H
  14. #define FE_ARCHIVE_H
  15. extern int RestoreArchivedFile(const char *path,
  16. const char *xlogfname,
  17. off_t expectedSize,
  18. const char *restoreCommand);
  19. #endif /* FE_ARCHIVE_H */