xlog_fn.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * xlog_fn.h
  3. *
  4. * PostgreSQL transaction log SQL-callable function declarations
  5. *
  6. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/access/xlog_fn.h
  10. */
  11. #ifndef XLOG_FN_H
  12. #define XLOG_FN_H
  13. #include "fmgr.h"
  14. extern Datum pg_start_backup(PG_FUNCTION_ARGS);
  15. extern Datum pg_stop_backup(PG_FUNCTION_ARGS);
  16. extern Datum pg_stop_backup_v2(PG_FUNCTION_ARGS);
  17. extern Datum pg_switch_xlog(PG_FUNCTION_ARGS);
  18. extern Datum pg_create_restore_point(PG_FUNCTION_ARGS);
  19. extern Datum pg_current_xlog_location(PG_FUNCTION_ARGS);
  20. extern Datum pg_current_xlog_insert_location(PG_FUNCTION_ARGS);
  21. extern Datum pg_current_xlog_flush_location(PG_FUNCTION_ARGS);
  22. extern Datum pg_last_xlog_receive_location(PG_FUNCTION_ARGS);
  23. extern Datum pg_last_xlog_replay_location(PG_FUNCTION_ARGS);
  24. extern Datum pg_last_xact_replay_timestamp(PG_FUNCTION_ARGS);
  25. extern Datum pg_xlogfile_name_offset(PG_FUNCTION_ARGS);
  26. extern Datum pg_xlogfile_name(PG_FUNCTION_ARGS);
  27. extern Datum pg_is_in_recovery(PG_FUNCTION_ARGS);
  28. extern Datum pg_xlog_replay_pause(PG_FUNCTION_ARGS);
  29. extern Datum pg_xlog_replay_resume(PG_FUNCTION_ARGS);
  30. extern Datum pg_is_xlog_replay_paused(PG_FUNCTION_ARGS);
  31. extern Datum pg_xlog_location_diff(PG_FUNCTION_ARGS);
  32. extern Datum pg_is_in_backup(PG_FUNCTION_ARGS);
  33. extern Datum pg_backup_start_time(PG_FUNCTION_ARGS);
  34. #endif /* XLOG_FN_H */