00001 /* 00002 * xlog_fn.h 00003 * 00004 * PostgreSQL transaction log SQL-callable function declarations 00005 * 00006 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00007 * Portions Copyright (c) 1994, Regents of the University of California 00008 * 00009 * src/include/access/xlog_fn.h 00010 */ 00011 #ifndef XLOG_FN_H 00012 #define XLOG_FN_H 00013 00014 #include "fmgr.h" 00015 00016 extern Datum pg_start_backup(PG_FUNCTION_ARGS); 00017 extern Datum pg_stop_backup(PG_FUNCTION_ARGS); 00018 extern Datum pg_switch_xlog(PG_FUNCTION_ARGS); 00019 extern Datum pg_create_restore_point(PG_FUNCTION_ARGS); 00020 extern Datum pg_current_xlog_location(PG_FUNCTION_ARGS); 00021 extern Datum pg_current_xlog_insert_location(PG_FUNCTION_ARGS); 00022 extern Datum pg_last_xlog_receive_location(PG_FUNCTION_ARGS); 00023 extern Datum pg_last_xlog_replay_location(PG_FUNCTION_ARGS); 00024 extern Datum pg_last_xact_replay_timestamp(PG_FUNCTION_ARGS); 00025 extern Datum pg_xlogfile_name_offset(PG_FUNCTION_ARGS); 00026 extern Datum pg_xlogfile_name(PG_FUNCTION_ARGS); 00027 extern Datum pg_is_in_recovery(PG_FUNCTION_ARGS); 00028 extern Datum pg_xlog_replay_pause(PG_FUNCTION_ARGS); 00029 extern Datum pg_xlog_replay_resume(PG_FUNCTION_ARGS); 00030 extern Datum pg_is_xlog_replay_paused(PG_FUNCTION_ARGS); 00031 extern Datum pg_xlog_location_diff(PG_FUNCTION_ARGS); 00032 extern Datum pg_is_in_backup(PG_FUNCTION_ARGS); 00033 extern Datum pg_backup_start_time(PG_FUNCTION_ARGS); 00034 00035 #endif /* XLOG_FN_H */