PostgreSQL Source Code git master
Data Fields
ClusterInfo Struct Reference

#include <pg_upgrade.h>

Data Fields

 
 
 
char *  pgdata
 
char *  pgconfig
 
char *  bindir
 
char *  pgopts
 
char *  sockdir
 
unsigned short  port
 
 
char  major_version_str [64]
 
 
char **  tablespaces
 
 
const char *  tablespace_suffix
 
int  nsubs
 
 

Detailed Description

Definition at line 287 of file pg_upgrade.h.

Field Documentation

bin_version

uint32 ClusterInfo::bin_version

Definition at line 302 of file pg_upgrade.h.

Referenced by check_cluster_versions().

bindir

char* ClusterInfo::bindir

Definition at line 295 of file pg_upgrade.h.

Referenced by copy_xact_xlog_xid(), create_new_objects(), generate_old_dump(), main(), output_completion_banner(), parseCommandLine(), prepare_new_cluster(), prepare_new_globals(), set_new_cluster_char_signedness(), and setup().

controldata

ControlData ClusterInfo::controldata

Definition at line 289 of file pg_upgrade.h.

Referenced by check_cluster_compatibility(), check_for_isn_and_int8_passing_mismatch(), copy_xact_xlog_xid(), main(), rewriteVisibilityMap(), set_frozenxids(), set_new_cluster_char_signedness(), and transfer_single_new_db().

dbarr

DbInfoArr ClusterInfo::dbarr

Definition at line 291 of file pg_upgrade.h.

Referenced by check_loadable_libraries(), check_new_cluster_is_empty(), check_old_cluster_for_valid_slots(), check_old_cluster_subscription_state(), count_old_cluster_logical_slots(), create_logical_replication_slots(), create_new_objects(), generate_old_dump(), get_loadable_libraries(), main(), and process_loadable_libraries().

major_version

uint32 ClusterInfo::major_version

Definition at line 300 of file pg_upgrade.h.

Referenced by check_and_dump_old_cluster(), check_cluster_versions(), check_new_cluster(), check_new_cluster_replication_slots(), check_new_cluster_subscription_configuration(), copy_xact_xlog_xid(), create_new_objects(), get_rel_infos_query(), issue_warnings_and_set_wal_level(), and set_locale_and_encoding().

major_version_str

char ClusterInfo::major_version_str[64]

Definition at line 301 of file pg_upgrade.h.

nsubs

int ClusterInfo::nsubs

Definition at line 306 of file pg_upgrade.h.

Referenced by check_new_cluster_subscription_configuration().

num_tablespaces

int ClusterInfo::num_tablespaces

Definition at line 304 of file pg_upgrade.h.

Referenced by check_for_new_tablespace_dir(), create_script_for_old_cluster_deletion(), do_swap(), get_tablespace_paths(), init_tablespaces(), and transfer_all_new_tablespaces().

pgconfig

char* ClusterInfo::pgconfig

Definition at line 293 of file pg_upgrade.h.

pgdata

char* ClusterInfo::pgdata

Definition at line 292 of file pg_upgrade.h.

Referenced by check_copy_file_range(), check_file_clone(), check_hard_link(), copy_subdir_files(), copy_xact_xlog_xid(), create_script_for_old_cluster_deletion(), disable_old_cluster(), do_swap(), get_tablespace_paths(), main(), parseCommandLine(), prepare_for_swap(), process_rel_infos(), remove_new_subdir(), set_new_cluster_char_signedness(), and setup().

pgopts

char* ClusterInfo::pgopts

Definition at line 296 of file pg_upgrade.h.

Referenced by parseCommandLine().

port

unsigned short ClusterInfo::port

Definition at line 299 of file pg_upgrade.h.

Referenced by check_cluster_compatibility(), get_sock_dir(), parseCommandLine(), and usage().

sockdir

char* ClusterInfo::sockdir

Definition at line 298 of file pg_upgrade.h.

sub_retain_dead_tuples

bool ClusterInfo::sub_retain_dead_tuples

Definition at line 307 of file pg_upgrade.h.

Referenced by check_new_cluster_replication_slots(), and main().

tablespace_suffix

const char* ClusterInfo::tablespace_suffix

Definition at line 305 of file pg_upgrade.h.

Referenced by check_for_new_tablespace_dir(), create_rel_filename_map(), create_script_for_old_cluster_deletion(), init_tablespaces(), and prepare_for_swap().

tablespaces

char** ClusterInfo::tablespaces

Definition at line 303 of file pg_upgrade.h.

Referenced by check_for_new_tablespace_dir(), create_script_for_old_cluster_deletion(), do_swap(), get_tablespace_paths(), init_tablespaces(), and transfer_all_new_tablespaces().

template0

DbLocaleInfo* ClusterInfo::template0

Definition at line 290 of file pg_upgrade.h.

Referenced by set_locale_and_encoding().


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

AltStyle によって変換されたページ (->オリジナル) /