#include "postgres.h"
#include "catalog/pg_tablespace_d.h"
#include "common/relpath.h"
#include "storage/procnumber.h"
Go to the source code of this file.
Definition at line 81 of file relpath.c.
References forkNames, InvalidForkNumber, len, MAX_FORKNUM, and str.
Referenced by looks_like_temp_rel_name(), and parse_filename_for_nontemp_relation().
Definition at line 50 of file relpath.c.
References ereport, errcode(), errhint(), errmsg(), ERROR, forkNames, InvalidForkNumber, and MAX_FORKNUM.
Referenced by get_raw_page_fork(), get_raw_page_fork_1_9(), main(), pg_prewarm(), and pg_relation_size().
Definition at line 110 of file relpath.c.
References Assert(), PG_TBLSPC_DIR, psprintf(), pstrdup(), and TABLESPACE_VERSION_DIRECTORY.
Referenced by check_db_file_conflict(), CreateDatabaseUsingFileCopy(), CreateDatabaseUsingWalLog(), createdb(), dbase_redo(), InitPostgres(), movedb(), movedb_failure_callback(), ProcessCommittedInvalidationMessages(), relmap_redo(), remove_dbtablespaces(), and TablespaceCreateDbspace().
Definition at line 143 of file relpath.c.
References Assert(), forkNames, INVALID_PROC_NUMBER, MAIN_FORKNUM, PG_TBLSPC_DIR, REL_PATH_STR_MAXLEN, sprintf, RelPathStr::str, strnlen(), and TABLESPACE_VERSION_DIRECTORY.
Referenced by GetIncrementalFilePath(), and test_relpath().
Definition at line 33 of file relpath.c.
Referenced by dump_one_relation(), forkname_chars(), forkname_to_number(), GetRelationPath(), XLogRecGetBlockRefInfo(), and XLogRecordSaveFPWs().