diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-12 11:47:03 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-12 11:47:03 +0200 |
commit | 7b91c886d9db1f81818e3b73b37fcb5d85734f59 (patch) | |
tree | a6fc8b6c4f9d9e848fa8c92cc25c4468713d4df9 /postgresql/etc | |
download | app.sh-misc-7b91c886d9db1f81818e3b73b37fcb5d85734f59.tar.gz app.sh-misc-7b91c886d9db1f81818e3b73b37fcb5d85734f59.tar.bz2 app.sh-misc-7b91c886d9db1f81818e3b73b37fcb5d85734f59.tar.xz app.sh-misc-7b91c886d9db1f81818e3b73b37fcb5d85734f59.zip |
o Initial import of postgresql setup for app.sh.
Diffstat (limited to 'postgresql/etc')
-rw-r--r-- | postgresql/etc/app.conf | 1 | ||||
-rw-r--r-- | postgresql/etc/postgresql.conf | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/postgresql/etc/app.conf b/postgresql/etc/app.conf new file mode 100644 index 0000000..b66592b --- /dev/null +++ b/postgresql/etc/app.conf @@ -0,0 +1 @@ +app.method=bin/postgres-wrapper diff --git a/postgresql/etc/postgresql.conf b/postgresql/etc/postgresql.conf new file mode 100644 index 0000000..fcde2ed --- /dev/null +++ b/postgresql/etc/postgresql.conf @@ -0,0 +1,24 @@ +max_connections = 20 +shared_buffers = 1600kB +datestyle = 'iso, mdy' +lc_messages = 'en_US.UTF-8' +lc_monetary = 'en_US.UTF-8' +lc_numeric = 'en_US.UTF-8' +lc_time = 'en_US.UTF-8' +default_text_search_config = 'pg_catalog.english' + +# Logging +log_destination='csvlog,stderr' +logging_collector=true +log_directory='../log' +log_filename='postmaster-%Y-%m-%d.log' +log_min_messages=INFO +log_min_error_statement=INFO +log_min_duration_statement=10 +log_connections=true + +# WAL +wal_level=archive + +archive_mode=true +archive_command='../current/bin/archive-command "%p" "%f"' |