mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-22 06:17:00 +08:00
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
27 lines
660 B
C
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
|