Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgres13 #506

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ postgresql_synchronous_commit: "on"
# - fsync_writethrough
# - open_sync
postgresql_wal_sync_method: "fsync"
postgresql_wal_skip_threshold: 2MB
postgresql_wal_keep_size: 0
postgresql_max_slot_wal_keep_size: -1

# recover from partial page writes
postgresql_full_page_writes: on
Expand Down Expand Up @@ -334,7 +337,7 @@ postgresql_recovery_min_apply_delay: 0 # (>= 12)
postgresql_max_wal_senders: 0
postgresql_wal_sender_delay: 1s # walsender cycle time, 1-10000 milliseconds (<= 9.1)

postgresql_wal_keep_segments: 0 # in logfile segments, 16MB each; 0 disables
# postgresql_wal_keep_segments: 0 # in logfile segments, 16MB each; 0 disables
postgresql_replication_timeout: 60s # in milliseconds; 0 disables (<= 9.2)
postgresql_wal_sender_timeout: 60s # in milliseconds; 0 disables (>= 9.3)
postgresql_max_replication_slots: 0 # max number of replication slots
Expand Down Expand Up @@ -534,6 +537,7 @@ postgresql_log_min_error_statement: "error"
# -1 is disabled, 0 logs all statements and their durations, > 0 logs only
# statements running at least this number of milliseconds
postgresql_log_min_duration_statement: -1

postgresql_log_transaction_sample_rate: 0.0 # (>= 12)


Expand Down Expand Up @@ -816,3 +820,9 @@ postgresql_dnf_repository_gpgkey: "{{ postgresql_yum_repository_gpgkey }}"
postgresql_apt_py3_dependencies: ["python3-psycopg2", "locales"]
postgresql_apt_py2_dependencies: ["python-psycopg2", "python-pycurl", "locales"]
postgresql_apt_dependencies: "{{ postgresql_apt_py3_dependencies if 'python3' in ansible_python_interpreter|default('') else postgresql_apt_py2_dependencies }}"


# TODO move
postgresql_log_min_duration_sample: -1
postgresql_log_statement_sample_rate: 1.0
postgresql_autovacuum_vacuum_insert_threshold: 1000
Loading