88 errmsg(
"empty configuration directory name: \"%s\"",
90 *err_msg =
"empty configuration directory name";
100 errmsg(
"could not open configuration directory \"%s\": %m",
126 if (
de->d_name[0] ==
'.')
static void cleanup(void)
#define Assert(condition)
char * AbsoluteConfigLocation(const char *location, const char *calling_file)
char ** GetConfFilesInDir(const char *includedir, const char *calling_file, int elevel, int *num_filenames, char **err_msg)
int errcode_for_file_access(void)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
DIR * AllocateDir(const char *dirname)
struct dirent * ReadDir(DIR *dir, const char *dirname)
#define palloc_array(type, count)
PGFileType get_dirent_type(const char *path, const struct dirent *de, bool look_through_symlinks, int elevel)
char * pstrdup(const char *in)
void * repalloc(void *pointer, Size size)
void pfree(void *pointer)
void join_path_components(char *ret_path, const char *head, const char *tail)
#define is_absolute_path(filename)
void canonicalize_path(char *path)
int pg_qsort_strcmp(const void *a, const void *b)
void get_parent_directory(char *path)
#define qsort(a, b, c, d)
size_t strlcpy(char *dst, const char *src, size_t siz)
char * psprintf(const char *fmt,...)
static const char * directory