Header And Logo

PostgreSQL
| The world's most advanced open source database.

pg_backup_db.h

Go to the documentation of this file.
00001 /*
00002  *  Definitions for pg_backup_db.c
00003  *
00004  *  IDENTIFICATION
00005  *      src/bin/pg_dump/pg_backup_db.h
00006  */
00007 
00008 #ifndef PG_BACKUP_DB_H
00009 #define PG_BACKUP_DB_H
00010 
00011 #include "pg_backup_archiver.h"
00012 
00013 extern int  ExecuteSqlCommandBuf(ArchiveHandle *AH, const char *buf, size_t bufLen);
00014 
00015 extern void ExecuteSqlStatement(Archive *AHX, const char *query);
00016 extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
00017                 ExecStatusType status);
00018 
00019 extern void EndDBCopyMode(ArchiveHandle *AH, struct _tocEntry * te);
00020 
00021 extern void StartTransaction(ArchiveHandle *AH);
00022 extern void CommitTransaction(ArchiveHandle *AH);
00023 
00024 #endif