mirror of
https://github.com/postgres/postgres.git
synced 2026-04-21 14:19:26 -04:00
Revert403a3d91c, as well as the followup fix7f4235032, in all branches. We need to think a bit harder about what the behavior of LOCK TABLE on views should be, and there's no time for that before next week's releases. We'll take another crack at this later. Discussion: https://postgr.es/m/16703-e348f58aab3cf6cc@postgresql.org
26 lines
660 B
C
26 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
|