PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_backup_db.h
Go to the documentation of this file.
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
ExecStatusType
Definition: libpq-fe.h:118
void ExecuteSqlStatement(Archive *AHX, const char *query)
Definition: pg_backup_db.c:276
void EndDBCopyMode(Archive *AHX, const char *tocEntryTag)
Definition: pg_backup_db.c:498
PGresult * ExecuteSqlQuery(Archive *AHX, const char *query, ExecStatusType status)
Definition: pg_backup_db.c:288
void StartTransaction(Archive *AHX)
Definition: pg_backup_db.c:527
int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen)
Definition: pg_backup_db.c:443
void CommitTransaction(Archive *AHX)
Definition: pg_backup_db.c:535
PGresult * ExecuteSqlQueryForSingleRow(Archive *fout, const char *query)
Definition: pg_backup_db.c:303
static char * buf
Definition: pg_test_fsync.c:72