PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
static void | get_tablespace_paths (void) |
static void | set_tablespace_directory_suffix (ClusterInfo *cluster) |
void | init_tablespaces (void) |
|
static |
Definition at line 40 of file tablespace.c.
References conn, connectToServer(), executeQueryOrDie(), OSInfo::num_old_tablespaces, old_cluster, OSInfo::old_tablespaces, os_info, PG_FATAL, pg_malloc(), pg_strdup(), PQclear(), PQfinish(), PQfnumber(), PQgetvalue(), PQntuples(), QUERY_ALLOC, report_status(), res, S_ISDIR, snprintf, stat::st_mode, and stat.
Referenced by init_tablespaces().
void init_tablespaces | ( | void | ) |
Definition at line 19 of file tablespace.c.
References get_tablespace_paths(), new_cluster, OSInfo::num_old_tablespaces, old_cluster, os_info, pg_fatal, set_tablespace_directory_suffix(), and ClusterInfo::tablespace_suffix.
Referenced by check_and_dump_old_cluster().
|
static |
Definition at line 103 of file tablespace.c.
References cluster(), and psprintf().
Referenced by init_tablespaces().