Searched refs:PGDATA (Results 1 – 8 of 8) sorted by relevance
14 PGDATA=/var/lib/postgresql/data19 if [ -f "$PGDATA/PG_VERSION" ]27 if [ ! -e "$PGDATA" -a ! -h "$PGDATA" ]29 mkdir -p "$PGDATA" || exit 130 chown postgres:postgres "$PGDATA"31 chmod go-rwx "$PGDATA"34 [ -x /sbin/restorecon ] && /sbin/restorecon "$PGDATA"49 mkdir "$PGDATA/pg_log"50 chown postgres:postgres "$PGDATA/pg_log"51 chmod go-rwx "$PGDATA/pg_log"[all …]
42 PGDATA=/var/lib/postgresql/data50 export PGDATA73 if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ]76 if [ x`cat "$PGDATA/PG_VERSION"` != x"$PGMAJORVERSION" ]104 … echo "$PGDATA is missing. Use \"postgresql-setup initdb\" to initialize the cluster first."112 …$SU -l postgres -c "$PGENGINE/postmaster -p '$PGPORT' -D '$PGDATA' ${PGOPTS} &" >> "$PGLOG" 2>&1 <…114 pid=`head -n 1 "$PGDATA/postmaster.pid" 2>/dev/null`132 $SU -l postgres -c "$PGENGINE/pg_ctl stop -D '$PGDATA' -s -m fast" > /dev/null 2>&1 < /dev/null160 $SU -l postgres -c "$PGENGINE/pg_ctl reload -D '$PGDATA' -s" > /dev/null 2>&1 < /dev/null
14 Environment=PGDATA=/var/lib/postgresql/data19 ExecStart=@BINDIR@/pg_ctl start -D ${PGDATA} -s -o "-p ${PGPORT}" -w -t 30020 ExecStop=@BINDIR@/pg_ctl stop -D ${PGDATA} -s -m fast21 ExecReload=@BINDIR@/pg_ctl reload -D ${PGDATA} -s
3 PGDATA=/var/lib/postgresql/data4 export PGDATA
6 PGDATA="/var/lib/postgresql/data"7 if [ -f "${PGDATA}/PG_VERSION" ]; then11 chown -R postgres:postgres ${PGDATA}12 su -l postgres -c "/usr/bin/initdb --pgdata='$PGDATA'"
493 #define PGDATA BYTE_REF(PGDATA_ADDR) macro
582 #define PGDATA BYTE_REF(PGDATA_ADDR) macro
502 #define PGDATA BYTE_REF(PGDATA_ADDR) macro