reinit.h 738 B

12345678910111213141516171819202122232425262728
  1. /*-------------------------------------------------------------------------
  2. *
  3. * reinit.h
  4. * Reinitialization of unlogged relations
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/storage/reinit.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef REINIT_H
  15. #define REINIT_H
  16. #include "common/relpath.h"
  17. extern void ResetUnloggedRelations(int op);
  18. extern bool parse_filename_for_nontemp_relation(const char *name,
  19. int *oidchars, ForkNumber *fork);
  20. #define UNLOGGED_RELATION_CLEANUP 0x0001
  21. #define UNLOGGED_RELATION_INIT 0x0002
  22. #endif /* REINIT_H */