1/*
2 * Definitions for pg_backup_db.c
3 *
4 * IDENTIFICATION
5 * src/bin/pg_dump/pg_backup_db.h
6 */
7
8#ifndef PG_BACKUP_DB_H
9#define PG_BACKUP_DB_H
10
11#include "pg_backup.h"
12
13
14extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
15
16extern void ExecuteSqlStatement(Archive *AHX, const char *query);
17extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
18 ExecStatusType status);
19extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, const char *query);
20
21extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag);
22
23extern void StartTransaction(Archive *AHX);
24extern void CommitTransaction(Archive *AHX);
25
26#endif
27