PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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,
19 extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, 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:82
void CommitTransaction(Archive *AHX)
Definition: pg_backup_db.c:655
static char * buf
Definition: pg_test_fsync.c:67
PGresult * ExecuteSqlQueryForSingleRow(Archive *fout, char *query)
Definition: pg_backup_db.c:422
void ExecuteSqlStatement(Archive *AHX, const char *query)
Definition: pg_backup_db.c:395
void EndDBCopyMode(Archive *AHX, const char *tocEntryTag)
Definition: pg_backup_db.c:618
void StartTransaction(Archive *AHX)
Definition: pg_backup_db.c:647
static void static void status(const char *fmt,...) pg_attribute_printf(1
Definition: pg_regress.c:224
PGresult * ExecuteSqlQuery(Archive *AHX, const char *query, ExecStatusType status)
Definition: pg_backup_db.c:407
int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen)
Definition: pg_backup_db.c:563