Split the postgresql ports into a server and a client part. The
following knobs can be used by ports depending on PostgreSQL:
# USE_PGSQL - Add PostgreSQL client dependency.
# If no version is given (by the maintainer via the port or
# by the user via defined variable), try to find the
# currently installed version. Fall back to default if
# necessary (PostgreSQL-7.4 = 74).
# DEFAULT_PGSQL_VER
# - PostgreSQL default version. Can be overridden within a port.
# Default: 74.
# WANT_PGSQL_VER
# - Maintainer can set an arbitrary version of PostgreSQL by
# using it.
# BROKEN_WITH_PGSQL
# - This variable can be defined if the ports doesn't support
# one or more versions of PostgreSQL.
Note that a periodic script is installed that will, by default, vacuum
all databases nightly. You may want to tweak the settings, see the
script at ${LOCALBASE}/etc/periodic/daily/502.pgsql
To run PostgreSQL at boot time, set postgresql_enable=yes in /etc/rc.conf.
Note
PR: 75344
Approved by: portmgr@ (kris), ade & sean (mentors)
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
# daily_pgsql_backup_enable="YES" # do backup
|
||||
# daily_pgsql_vacuum_enable="YES" # do vacuum
|
||||
|
||||
daily_pgsql_vaccum_enable="NO"
|
||||
daily_pgsql_vacuum_enable="YES"
|
||||
daily_pgsql_backup_enable="NO"
|
||||
|
||||
daily_pgsql_vacuum_args="-z"
|
||||
|
||||
Reference in New Issue
Block a user