summaryrefslogtreecommitdiff
path: root/src/common/file_perm.c
blob: fdfbb9a44c4a0f61f24e8e1ce9e198e2b83edc64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*-------------------------------------------------------------------------
 *
 * File and directory permission routines
 *
 *
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/common/file_perm.c
 *
 *-------------------------------------------------------------------------
 */
#include <sys/stat.h>

#include "common/file_perm.h"

/* Modes for creating directories and files in the data directory */
int pg_dir_create_mode = PG_DIR_MODE_OWNER;
int pg_file_create_mode = PG_FILE_MODE_OWNER;