PostgreSQL Source Code  git master
_restoreOptions Struct Reference

#include <pg_backup.h>

Data Fields

int createDB
 
int noOwner
 
int noTablespace
 
int disable_triggers
 
int use_setsessauth
 
char * superuser
 
char * use_role
 
int dropSchema
 
int disable_dollar_quoting
 
int dump_inserts
 
int column_inserts
 
int if_exists
 
int no_comments
 
int no_publications
 
int no_security_labels
 
int no_subscriptions
 
int strict_names
 
const char * filename
 
int dataOnly
 
int schemaOnly
 
int dumpSections
 
int verbose
 
int aclsSkip
 
const char * lockWaitTimeout
 
int include_everything
 
int tocSummary
 
char * tocFile
 
int format
 
char * formatName
 
int selTypes
 
int selIndex
 
int selFunction
 
int selTrigger
 
int selTable
 
SimpleStringList indexNames
 
SimpleStringList functionNames
 
SimpleStringList schemaNames
 
SimpleStringList schemaExcludeNames
 
SimpleStringList triggerNames
 
SimpleStringList tableNames
 
int useDB
 
char * dbname
 
char * pgport
 
char * pghost
 
char * username
 
int noDataForFailedTables
 
trivalue promptPassword
 
int exit_on_error
 
int compression
 
int suppressDumpWarnings
 
bool single_txn
 
boolidWanted
 
int enable_row_security
 
int sequence_data
 
int binary_upgrade
 

Detailed Description

Definition at line 61 of file pg_backup.h.

Field Documentation

◆ aclsSkip

int _restoreOptions::aclsSkip

Definition at line 88 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ binary_upgrade

int _restoreOptions::binary_upgrade

Definition at line 125 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ column_inserts

int _restoreOptions::column_inserts

Definition at line 75 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), and main().

◆ compression

int _restoreOptions::compression

Definition at line 117 of file pg_backup.h.

Referenced by main(), and RestoreArchive().

◆ createDB

int _restoreOptions::createDB

Definition at line 63 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), main(), and RestoreArchive().

◆ dataOnly

◆ dbname

char* _restoreOptions::dbname

◆ disable_dollar_quoting

int _restoreOptions::disable_dollar_quoting

Definition at line 73 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), and main().

◆ disable_triggers

int _restoreOptions::disable_triggers

◆ dropSchema

int _restoreOptions::dropSchema

◆ dump_inserts

int _restoreOptions::dump_inserts

Definition at line 74 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), and main().

◆ dumpSections

int _restoreOptions::dumpSections

◆ enable_row_security

int _restoreOptions::enable_row_security

Definition at line 123 of file pg_backup.h.

Referenced by _doSetFixedOutputState(), dumpOptionsFromRestoreOptions(), and main().

◆ exit_on_error

int _restoreOptions::exit_on_error

Definition at line 116 of file pg_backup.h.

Referenced by main().

◆ filename

const char* _restoreOptions::filename

Definition at line 83 of file pg_backup.h.

Referenced by main(), PrintTOCSummary(), and RestoreArchive().

◆ format

int _restoreOptions::format

Definition at line 94 of file pg_backup.h.

Referenced by main(), and NewRestoreOptions().

◆ formatName

char* _restoreOptions::formatName

Definition at line 95 of file pg_backup.h.

Referenced by main().

◆ functionNames

SimpleStringList _restoreOptions::functionNames

Definition at line 103 of file pg_backup.h.

Referenced by _tocEntryRequired(), main(), and StrictNamesCheck().

◆ idWanted

bool* _restoreOptions::idWanted

Definition at line 122 of file pg_backup.h.

Referenced by _tocEntryRequired(), and SortTocFromFile().

◆ if_exists

int _restoreOptions::if_exists

Definition at line 76 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), main(), and RestoreArchive().

◆ include_everything

int _restoreOptions::include_everything

Definition at line 90 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), and main().

◆ indexNames

SimpleStringList _restoreOptions::indexNames

Definition at line 102 of file pg_backup.h.

Referenced by _tocEntryRequired(), main(), and StrictNamesCheck().

◆ lockWaitTimeout

const char* _restoreOptions::lockWaitTimeout

Definition at line 89 of file pg_backup.h.

Referenced by dumpOptionsFromRestoreOptions(), and main().

◆ no_comments

int _restoreOptions::no_comments

Definition at line 77 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ no_publications

int _restoreOptions::no_publications

Definition at line 78 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ no_security_labels

int _restoreOptions::no_security_labels

Definition at line 79 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ no_subscriptions

int _restoreOptions::no_subscriptions

Definition at line 80 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ noDataForFailedTables

int _restoreOptions::noDataForFailedTables

Definition at line 114 of file pg_backup.h.

Referenced by main(), and restore_toc_entry().

◆ noOwner

int _restoreOptions::noOwner

Definition at line 64 of file pg_backup.h.

Referenced by _becomeOwner(), _printTocEntry(), dumpOptionsFromRestoreOptions(), and main().

◆ noTablespace

int _restoreOptions::noTablespace

Definition at line 65 of file pg_backup.h.

Referenced by _printTocEntry(), _selectTablespace(), dumpOptionsFromRestoreOptions(), and main().

◆ pghost

char* _restoreOptions::pghost

Definition at line 112 of file pg_backup.h.

Referenced by CloneArchive(), main(), restore_toc_entries_postfork(), and RestoreArchive().

◆ pgport

char* _restoreOptions::pgport

Definition at line 111 of file pg_backup.h.

Referenced by CloneArchive(), main(), restore_toc_entries_postfork(), and RestoreArchive().

◆ promptPassword

trivalue _restoreOptions::promptPassword

◆ schemaExcludeNames

SimpleStringList _restoreOptions::schemaExcludeNames

Definition at line 105 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ schemaNames

SimpleStringList _restoreOptions::schemaNames

Definition at line 104 of file pg_backup.h.

Referenced by _tocEntryRequired(), main(), and StrictNamesCheck().

◆ schemaOnly

int _restoreOptions::schemaOnly

Definition at line 85 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ selFunction

int _restoreOptions::selFunction

Definition at line 99 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ selIndex

int _restoreOptions::selIndex

Definition at line 98 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ selTable

int _restoreOptions::selTable

Definition at line 101 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ selTrigger

int _restoreOptions::selTrigger

Definition at line 100 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ selTypes

int _restoreOptions::selTypes

Definition at line 97 of file pg_backup.h.

Referenced by _tocEntryRequired(), and main().

◆ sequence_data

int _restoreOptions::sequence_data

Definition at line 124 of file pg_backup.h.

Referenced by _tocEntryRequired(), dumpOptionsFromRestoreOptions(), and main().

◆ single_txn

bool _restoreOptions::single_txn

Definition at line 120 of file pg_backup.h.

Referenced by EndRestoreBlobs(), main(), RestoreArchive(), and StartRestoreBlobs().

◆ strict_names

int _restoreOptions::strict_names

Definition at line 81 of file pg_backup.h.

Referenced by main(), PrintTOCSummary(), ProcessArchiveRestoreOptions(), and StrictNamesCheck().

◆ superuser

char* _restoreOptions::superuser

◆ suppressDumpWarnings

int _restoreOptions::suppressDumpWarnings

Definition at line 118 of file pg_backup.h.

Referenced by main(), and restore_toc_entry().

◆ tableNames

SimpleStringList _restoreOptions::tableNames

Definition at line 107 of file pg_backup.h.

Referenced by _tocEntryRequired(), main(), and StrictNamesCheck().

◆ tocFile

char* _restoreOptions::tocFile

Definition at line 93 of file pg_backup.h.

Referenced by main(), and SortTocFromFile().

◆ tocSummary

int _restoreOptions::tocSummary

Definition at line 92 of file pg_backup.h.

Referenced by main().

◆ triggerNames

SimpleStringList _restoreOptions::triggerNames

Definition at line 106 of file pg_backup.h.

Referenced by _tocEntryRequired(), main(), and StrictNamesCheck().

◆ use_role

char* _restoreOptions::use_role

Definition at line 71 of file pg_backup.h.

Referenced by _doSetFixedOutputState(), and main().

◆ use_setsessauth

int _restoreOptions::use_setsessauth

Definition at line 68 of file pg_backup.h.

Referenced by _becomeOwner(), _printTocEntry(), dumpOptionsFromRestoreOptions(), and main().

◆ useDB

int _restoreOptions::useDB

Definition at line 109 of file pg_backup.h.

Referenced by main(), RestoreArchive(), and RestoringToDB().

◆ username

char* _restoreOptions::username

Definition at line 113 of file pg_backup.h.

Referenced by CloneArchive(), main(), restore_toc_entries_postfork(), and RestoreArchive().

◆ verbose

int _restoreOptions::verbose

Definition at line 87 of file pg_backup.h.

Referenced by main(), and PrintTOCSummary().


The documentation for this struct was generated from the following file: