Files
postgresql/src/bin/pg_dump/pg_backup_db.h
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent.  This formats
multiline function declarations "correctly", that is with
additional lines of parameter declarations indented to match
where the first line's left parenthesis is.

Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
2019-05-22 13:04:48 -04:00

27 lines
660 B
C

/*
* Definitions for pg_backup_db.c
*
* IDENTIFICATION
* src/bin/pg_dump/pg_backup_db.h
*/
#ifndef PG_BACKUP_DB_H
#define PG_BACKUP_DB_H
#include "pg_backup.h"
extern int ExecuteSqlCommandBuf(Archive *AHX, const char *buf, size_t bufLen);
extern void ExecuteSqlStatement(Archive *AHX, const char *query);
extern PGresult *ExecuteSqlQuery(Archive *AHX, const char *query,
ExecStatusType status);
extern PGresult *ExecuteSqlQueryForSingleRow(Archive *fout, const char *query);
extern void EndDBCopyMode(Archive *AHX, const char *tocEntryTag);
extern void StartTransaction(Archive *AHX);
extern void CommitTransaction(Archive *AHX);
#endif