database/database-standalone-configuration rpm fix for postgresql.conf
This commit is contained in:
parent
dfd78f520d
commit
da81b4cded
3 changed files with 8 additions and 7 deletions
|
@ -181,7 +181,7 @@ commit_siblings = 5 # range 1-1000
|
|||
|
||||
# - Checkpoints -
|
||||
|
||||
max_wal_size = 160
|
||||
checkpoint_segments = 10 # in logfile segments, min 1, 16MB each
|
||||
#checkpoint_timeout = 5min # range 30s-1h
|
||||
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
|
||||
#checkpoint_warning = 30s # 0 disables
|
||||
|
|
|
@ -61,7 +61,7 @@ listen_addresses = '*' # what IP address(es) to listen on;
|
|||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
port = 5432 # (change requires restart)
|
||||
max_connections = 300 # (change requires restart)
|
||||
max_connections = 400 # (change requires restart)
|
||||
# Note: Increasing max_connections costs ~400 bytes of shared memory per
|
||||
# connection slot, plus lock space (see max_locks_per_transaction).
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
|
@ -181,7 +181,7 @@ commit_siblings = 5 # range 1-1000
|
|||
|
||||
# - Checkpoints -
|
||||
|
||||
max_wal_size = 160
|
||||
checkpoint_segments = 10 # in logfile segments, min 1, 16MB each
|
||||
#checkpoint_timeout = 5min # range 30s-1h
|
||||
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
|
||||
#checkpoint_warning = 30s # 0 disables
|
||||
|
@ -414,7 +414,7 @@ log_line_prefix = '%t %x %d : %h : ' # special values:
|
|||
#log_temp_files = -1 # log temporary files equal or larger
|
||||
# than the specified size in kilobytes;
|
||||
# -1 disables, 0 logs all temp files
|
||||
#log_timezone = 'US/Central'
|
||||
log_timezone = 'UTC'
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
@ -22,6 +22,7 @@ Packager: %{_build_site}
|
|||
AutoReq: no
|
||||
Provides: awips2-database
|
||||
Provides: awips2-static-user
|
||||
Requires: libpng
|
||||
Requires: awips2-postgresql
|
||||
Requires: awips2-psql
|
||||
Requires: awips2-database-configuration
|
||||
|
@ -271,9 +272,9 @@ fi
|
|||
|
||||
execute_initial_sql_script ${SQL_SHARE_DIR}/initial_setup_server.sql
|
||||
|
||||
/awips2/psql/bin/psql -U ${AWIPS_DEFAULT_USER} -d metadata -c "CREATE EXTENSION postgis;"
|
||||
/awips2/psql/bin/psql -U ${AWIPS_DEFAULT_USER} -d metadata -c "CREATE EXTENSION postgis_topology;"
|
||||
execute_psql_sql_script /awips2/postgresql/share/contrib/postgis-2.2/legacy.sql metadata
|
||||
/awips2/psql/bin/psql -U awips -d metadata -c "CREATE EXTENSION postgis;"
|
||||
/awips2/psql/bin/psql -U awips -d metadata -c "CREATE EXTENSION postgis_topology;"
|
||||
execute_psql_sql_script /awips2/postgresql/share/contrib/postgis-2.0/legacy.sql metadata
|
||||
execute_psql_sql_script ${SQL_SHARE_DIR}/permissions.sql metadata
|
||||
execute_psql_sql_script ${SQL_SHARE_DIR}/fxatext.sql metadata
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue