|
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 50 of file tablespace.c.
References conn, connectToServer(), executeQueryOrDie(), is_absolute_path, new_cluster, ClusterInfo::num_tablespaces, old_cluster, PG_FATAL, pg_malloc(), pg_strdup(), ClusterInfo::pgdata, PQclear, PQfinish(), PQfnumber(), PQgetvalue, PQntuples, psprintf(), QUERY_ALLOC, report_status(), S_ISDIR, snprintf, stat::st_mode, stat, and ClusterInfo::tablespaces.
Referenced by init_tablespaces().
| void init_tablespaces | ( | void | ) |
Definition at line 19 of file tablespace.c.
References get_tablespace_paths(), i, new_cluster, ClusterInfo::num_tablespaces, old_cluster, pg_fatal, set_tablespace_directory_suffix(), ClusterInfo::tablespace_suffix, and ClusterInfo::tablespaces.
Referenced by check_and_dump_old_cluster().
|
static |
Definition at line 142 of file tablespace.c.
References cluster(), and psprintf().
Referenced by init_tablespaces().