X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=postgresql.sysconfig;h=f3f4735ab87c5c9bf3127ad8c1bdf74368d4282f;hb=adfd9c7ffbbb26a7219309c31b40913339fb5ca3;hp=6ea32be9d08d51c9afb2d2c8a97c383fb688aeba;hpb=c160250ed9497c2cb8702482b01a5dd6cfd9e0fe;p=packages%2Fpostgresql.git diff --git a/postgresql.sysconfig b/postgresql.sysconfig index 6ea32be..f3f4735 100644 --- a/postgresql.sysconfig +++ b/postgresql.sysconfig @@ -1,22 +1,23 @@ # $Revision$ -# Root of the tree of database directories -POSTGRES_DATA_DIR=/var/lib/pgsql - # -# postgres(1) backend options runed by postmaster +# Edit postgresql.conf file in database cluster directory to configure +# PostgreSQL. If you want to start more than one PostgreSQL instance, +# you should change TCP/IP port, at least. +# +# Under systemd each cluster is started under a different postgresql@.service +# instance, the default being postgresql@var-lib-pgsql.service # -# run postgres(1) bacend in quiet mode -POSTGRES_QUIET=no +# To enable a new one use; /bin/systemctl enable postgresql@${instance}.service + +# locale used at service postgresql init +# PG_INIT_LOCALE=C -# Enable listening on TCP port. Without this postmaster responds -# only on unix socket -ALLOW_TCP_CONNECTIONS=no +# standard setting +PG_DB_CLUSTERS="/var/lib/pgsql" -# Disable automatic fsync() call after each transac tion. This option -# improves performance, but an operating system crash while a transaction is -# in progress will probably cause data loss. -POSTGRES_DISABLE_FSYNC=no +# predictable usage +# PG_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02" -# Where postmaster output is redirected -POSTGRES_LOG=/var/log/pgsql +# new database disk arrived +# PG_DB_CLUSTERS="/var/lib/pgsql/01 /var/lib/pgsql/02 /mnt/db/01"