--- /dev/null
+#
+# This configuration file was installed by the postgresql94-bdr package
+#
+# It enables BDR in PostgreSQL, though it doesn't set up any peers to replicate
+# to/from.
+#
+# To learn how to configure BDR, see:
+# https://wiki.postgresql.org/wiki/BDR_User_Guide
+
+# Load BDR its self
+shared_preload_libraries = 'bdr'
+
+# Force WAL logging at logical replication level
+wal_level = 'logical'
+
+# Enable commit timestamps, which BDR requires
+track_commit_timestamp = on
+
+# Maximum number of replication slots that may exist. You should set this to
+# the number of nodes you expect to have, plus a reasonable margin for growth.
+#
+# This is a suitable setting for a small installation.
+max_replication_slots = 8
+
+# Generally you want to set max_wal_senders to the same value plus a few for
+# pg_basebackup runs, streaming replicas, etc.
+#
+# This is a suitable setting for a small installation.
+max_wal_senders = 10
+
+# Do you want to record conflicts to the bdr.bdr_conflict_history table, not
+# just the log file?
+#bdr.log_conflicts_to_table = off
+
+# Configure connections to other BDR nodes. See below for a couple of examples.
+bdr.connections = ''
+
+
+#-------------------------------------------------------------------------
+# Remember that you must also add a replication entry to pg_hba.conf; see
+# https://wiki.postgresql.org/wiki/BDR_User_Guide#Configuration
+#-------------------------------------------------------------------------
+
+#-------------------------------------------------------------------------
+# Example connection configuration:
+#-------------------------------------------------------------------------
+#
+# bdr.connections = 'node2,node3'
+#
+# bdr.node2_dsn = "host=node2 dbname=mydb"
+# # Take our initial copy of the data from node2
+# bdr.node2_init_replica=on
+# # and apply it to the local db using this dsn
+# bdr.node2_replica_local_dsn="dbname=mydb user=postgres"
+#
+# bdr.node3_dsn = "host=node3 dbname=mydb"
+#