aboutsummaryrefslogtreecommitdiff
path: root/postgres/postgresql.conf
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2023-03-19 10:06:45 +0100
committerPeter Bex <peter@more-magic.net>2023-03-19 10:46:25 +0100
commit9d05c9ca73c2b501744d528475532ab728318bde (patch)
tree66290d3bf9974ab7cf418508cc0937b838fd0343 /postgres/postgresql.conf
downloadppq-9d05c9ca73c2b501744d528475532ab728318bde.tar.gz
Initial version of "ppq" - portable PostgreSQL
This allows running PostgreSQL locally without having to set up a system-wide service. It is portable in the sense that you can move the directory around, and you can run multiple instances side-by-side.
Diffstat (limited to 'postgres/postgresql.conf')
-rw-r--r--postgres/postgresql.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/postgres/postgresql.conf b/postgres/postgresql.conf
new file mode 100644
index 0000000..0d16559
--- /dev/null
+++ b/postgres/postgresql.conf
@@ -0,0 +1,11 @@
+# Disable listening on a port to make it more self-contained and allow multiple instances
+listen_addresses=''
+
+# Avoid random shell locale settings from messing with the db settings - default to C locale
+lc_messages='C'
+lc_monetary='C'
+lc_numeric='C'
+lc_time='C'
+
+# Put any overrides into your own config file here:
+include_if_exists 'postgresql_overrides.conf' \ No newline at end of file