mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
fe_archive.c was compiled only for the frontend in src/common/, but as it will never share anything with the backend, it makes most sense to move this file to src/fe_utils/. Reported-by: Peter Eisentraut Discussion: https://postgr.es/m/e9766d71-8655-ac86-bdf6-77e0e7169977@2ndquadrant.com Backpatch-through: 13
22 lines
632 B
C
22 lines
632 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* archive.h
|
|
* Routines to access WAL archives from frontend
|
|
*
|
|
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/fe_utils/archive.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef FE_ARCHIVE_H
|
|
#define FE_ARCHIVE_H
|
|
|
|
extern int RestoreArchivedFile(const char *path,
|
|
const char *xlogfname,
|
|
off_t expectedSize,
|
|
const char *restoreCommand);
|
|
|
|
#endif /* FE_ARCHIVE_H */
|