| 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 |
|
| 14 |
extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen); |
| 15 |
|
| 16 |
extern void ExecuteSqlStatement(Archive *AHX, const char *query); |
| 17 |
extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query, |
| 18 |
ExecStatusType status); |
| 19 |
extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, const char *query); |
| 20 |
|
| 21 |
extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag); |
| 22 |
|
| 23 |
extern void StartTransaction(Archive *AHX); |
| 24 |
extern void CommitTransaction(Archive *AHX); |
| 25 |
|
| 26 |
#endif |