PostgreSQL Source Code git master
|
#include "postgres_fe.h"
#include "fe_utils/string_utils.h"
#include "libpq/libpq-fs.h"
#include "pg_backup_archiver.h"
#include "pg_backup_utils.h"
Go to the source code of this file.
Functions | |
static void | _WriteData (ArchiveHandle *AH, const void *data, size_t dLen) |
static void | _WriteLOData (ArchiveHandle *AH, const void *data, size_t dLen) |
static void | _EndData (ArchiveHandle *AH, TocEntry *te) |
static int | _WriteByte (ArchiveHandle *AH, const int i) |
static void | _WriteBuf (ArchiveHandle *AH, const void *buf, size_t len) |
static void | _CloseArchive (ArchiveHandle *AH) |
static void | _PrintTocData (ArchiveHandle *AH, TocEntry *te) |
static void | _StartLOs (ArchiveHandle *AH, TocEntry *te) |
static void | _StartLO (ArchiveHandle *AH, TocEntry *te, Oid oid) |
static void | _EndLO (ArchiveHandle *AH, TocEntry *te, Oid oid) |
static void | _EndLOs (ArchiveHandle *AH, TocEntry *te) |
void | InitArchiveFmt_Null (ArchiveHandle *AH) |
|
static |
Definition at line 221 of file pg_backup_null.c.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 110 of file pg_backup_null.c.
References ahprintf().
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 165 of file pg_backup_null.c.
References _WriteData(), ahprintf(), and _archiveHandle::WriteDataPtr.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 178 of file pg_backup_null.c.
References ahprintf().
Referenced by _PrintTocData(), and InitArchiveFmt_Null().
|
static |
Definition at line 189 of file pg_backup_null.c.
References _EndLOs(), _StartLOs(), _archiveHandle::currToc, _tocEntry::dataDumper, _tocEntry::dataDumperArg, and _tocEntry::desc.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 138 of file pg_backup_null.c.
References _WriteLOData(), ahprintf(), DropLOIfExists(), _restoreOptions::dropSchema, INV_WRITE, K_VERS_1_12, pg_fatal, _archiveHandle::public, Archive::ropt, _archiveHandle::version, and _archiveHandle::WriteDataPtr.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 125 of file pg_backup_null.c.
References ahprintf().
Referenced by _PrintTocData(), and InitArchiveFmt_Null().
|
static |
Definition at line 215 of file pg_backup_null.c.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 208 of file pg_backup_null.c.
Referenced by InitArchiveFmt_Null().
|
static |
Definition at line 81 of file pg_backup_null.c.
References ahwrite(), and data.
Referenced by _EndLO(), and InitArchiveFmt_Null().
|
static |
Definition at line 92 of file pg_backup_null.c.
References ahprintf(), appendByteaLiteralAHX, buf, createPQExpBuffer(), data, and destroyPQExpBuffer().
Referenced by _StartLO().
void InitArchiveFmt_Null | ( | ArchiveHandle * | AH | ) |
Definition at line 48 of file pg_backup_null.c.
References _CloseArchive(), _EndData(), _EndLO(), _EndLOs(), _PrintTocData(), _StartLO(), _StartLOs(), _WriteBuf(), _WriteByte(), _WriteData(), archModeRead, _archiveHandle::ClonePtr, _archiveHandle::ClosePtr, _archiveHandle::DeClonePtr, _archiveHandle::EndDataPtr, _archiveHandle::EndLOPtr, _archiveHandle::EndLOsPtr, _archiveHandle::mode, pg_fatal, _archiveHandle::PrintTocDataPtr, _archiveHandle::ReopenPtr, _archiveHandle::StartLOPtr, _archiveHandle::StartLOsPtr, _archiveHandle::WriteBufPtr, _archiveHandle::WriteBytePtr, and _archiveHandle::WriteDataPtr.
Referenced by _allocAH().