]> git.pld-linux.org Git - packages/postgresql.git/blobdiff - postgresql.sysconfig
- x32 buildfixes
[packages/postgresql.git] / postgresql.sysconfig
index c7cfa268335c8d5db93dcb16bf936f4e50017e5b..f3f4735ab87c5c9bf3127ad8c1bdf74368d4282f 100644 (file)
@@ -1,35 +1,23 @@
 # $Revision$
 
-# Root of the tree of database directories
-POSTGRES_DATA_DIR=/var/lib/pgsql
-
 #
-# postgres(1) backend options run 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.
 #
-# run postgres(1) backend in quiet mode
-POSTGRES_QUIET=no
-
-# Enable listening on TCP port. Without this postmaster responds
-# only on unix socket
-ALLOW_TCP_CONNECTIONS=no
-
-# For production machines you should increase those numbers to avoid "Too 
-# many connections" messages. Buffers should be (at least) MaxConn*2.
-# But: watch carefully that you won't exceed system resources!!
-# Leave it blank to have default (safe) 32 clients/64 buffers.
+# Under systemd each cluster is started under a different postgresql@.service
+# instance, the default being postgresql@var-lib-pgsql.service
+#
+# To enable a new one use;  /bin/systemctl enable postgresql@${instance}.service
 
-MAXCONN=
-BUFFERS=
+# locale used at service postgresql init
+# PG_INIT_LOCALE=C
 
-# Allow using SSL on TCP connections. Requires ALLOW_TCP_CONNECTIONS to be
-# set to yes. Also, you must supply key and certificate files
-# ($POSTGRES_DATA_DIR/server.{key,crt})
-ALLOW_USE_SSL=no
+# standard setting
+PG_DB_CLUSTERS="/var/lib/pgsql"
 
-# Disable automatic fsync() call after each transaction. 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"
This page took 0.079262 seconds and 4 git commands to generate.