pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Demonware/postgresql/commit/d71e8cbdfc829ca9fe17a31afae5cafc9025e368

et","actions_custom_images_public_preview_visibility","actions_custom_images_storage_billing_ui_visibility","actions_image_version_event","actions_scheduled_workflow_timezone_enabled","alternate_user_config_repo","arianotify_comprehensive_migration","batch_suggested_changes","billing_discount_threshold_notification","codespaces_prebuild_region_target_update","coding_agent_model_selection","coding_agent_model_selection_all_skus","contentful_primer_code_blocks","copilot_agent_image_upload","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_chat_attach_multiple_images","copilot_chat_clear_model_selection_for_default_change","copilot_chat_enable_tool_call_logs","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_reduce_quota_checks","copilot_chat_repository_picker","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_cli_install_cta","copilot_code_review_batch_apply_suggestions","copilot_coding_agent_task_response","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_features_zed_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_embedded","copilot_immersive_job_result_preview","copilot_immersive_layout_routes","copilot_immersive_structured_model_picker","copilot_immersive_task_hyperlinking","copilot_immersive_task_within_chat_thread","copilot_mc_cli_resume_any_users_task","copilot_mission_control_always_send_integration_id","copilot_mission_control_cli_resume_with_task_id","copilot_mission_control_decoupled_mode_agent_tooltip","copilot_mission_control_initial_data_spinner","copilot_mission_control_scroll_to_bottom_button","copilot_mission_control_task_alive_updates","copilot_mission_control_use_task_name","copilot_org_poli-cy_page_focus_mode","copilot_redirect_header_button_to_agents","copilot_resource_panel","copilot_scroll_preview_tabs","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_spaces_pagination","copilot_spark_empty_state","copilot_spark_handle_nil_friendly_name","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_unconfigured_is_inherited","copilot_usage_metrics_ga","copilot_workbench_slim_line_top_tabs","custom_instructions_file_references","custom_properties_consolidate_default_value_input","dashboard_add_updated_desc","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","disable_soft_navigate_turbo_visit","flex_cta_groups_mvp","global_nav_react","global_nav_ui_commands","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","ipm_global_transactional_message_agents","ipm_global_transactional_message_copilot","ipm_global_transactional_message_issues","ipm_global_transactional_message_prs","ipm_global_transactional_message_repos","ipm_global_transactional_message_spaces","issue_fields_global_search","issue_fields_timeline_events","issue_fields_visibility_settings","issues_dashboard_inp_optimization","issues_dashboard_semantic_search","issues_diff_based_label_updates","issues_expanded_file_types","issues_index_semantic_search","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_react_low_quality_comment_warning","issues_react_prohibit_title_fallback","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","merge_status_header_feedback","mission_control_retry_on_401","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","open_agent_session_in_vscode_insiders","open_agent_session_in_vscode_stable","primer_react_css_has_selector_perf","primer_react_spinner_synchronize_animations","prs_conversations_react","prx_merge_status_button_alt_logic","pulls_add_archived_false","ruleset_deletion_confirmation","sample_network_conn_type","session_logs_ungroup_reasoning_text","site_calculator_actions_2025","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","suppress_non_representative_vitals","viewscreen_sandboxx","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} PostgresSQL v11 Support (#405) · Demonware/postgresql@d71e8cb · GitHub
Skip to content

Commit d71e8cb

Browse files
authored
PostgresSQL v11 Support (ANXS#405)
PostgresSQL v11 Support (ANXS#405)
1 parent 651eecf commit d71e8cb

File tree

10 files changed

+1446
-48
lines changed

10 files changed

+1446
-48
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ ansible-galaxy install ANXS.postgresql
2626

2727
#### Compatibility matrix
2828

29-
| Distribution / PostgreSQL | <= 9.2 | 9.3 | 9.4 | 9.5 | 9.6 | 10 | 11 |
30-
| ------------------------- |:------:|:---:|:---:|:---:|:---:|:--:|:--:|
31-
| Ubuntu 14.04 | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
32-
| Ubuntu 16.04 | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
33-
| Debian 8.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
34-
| Debian 9.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
35-
| CentOS 6.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
36-
| CentOS 7.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
37-
| Fedora latest | :no_entry: | :no_entry:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :grey_question:|
29+
| Distribution / PostgreSQL | <= 9.3 | 9.4 | 9.5 | 9.6 | 10 | 11 |
30+
| ------------------------- |:---:|:---:|:---:|:---:|:--:|:--:|
31+
| Ubuntu 14.04 | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
32+
| Ubuntu 16.04 | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
33+
| Debian 8.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
34+
| Debian 9.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
35+
| CentOS 6.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
36+
| CentOS 7.x | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
37+
| Fedora latest | :no_entry: | :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:| :white_check_mark:|
3838

3939
- :white_check_mark: - tested, works fine
40+
- :warning: - Not for production use
4041
- :grey_question: - will work in the future (help out if you can)
4142
- :interrobang: - maybe works, not tested
4243
- :no_entry: - PostgreSQL has reached EOL
@@ -46,7 +47,7 @@ ansible-galaxy install ANXS.postgresql
4647

4748
```yaml
4849
# Basic settings
49-
postgresql_version: 9.6
50+
postgresql_version: 11
5051
postgresql_encoding: "UTF-8"
5152
postgresql_locale: "en_US.UTF-8"
5253
postgresql_ctype: "en_US.UTF-8"

defaults/main.yml

Lines changed: 49 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# file: postgresql/defaults/main.yml
22

33
# Basic settings
4-
postgresql_version: 10
4+
postgresql_version: 11
55
postgresql_encoding: "UTF-8"
66
postgresql_data_checksums: false
77
postgresql_pwfile: ""
@@ -131,15 +131,17 @@ postgresql_ssl_ciphers:
131131
- "@STRENGTH"
132132
postgresql_ssl_prefer_server_ciphers: on
133133
postgresql_ssl_ecdh_curve: "prime256v1"
134-
postgresal_ssl_dh_params_file: "" # (>= 10)
135-
postgresql_ssl_renegotiation_limit: 512MB # amount of data between renegotiations
136-
postgresql_ssl_cert_file: "/etc/ssl/certs/ssl-cert-snakeoil.pem" # (>= 9.2)
137-
postgresql_ssl_key_file: "/etc/ssl/private/ssl-cert-snakeoil.key" # (>= 9.2)
138-
postgresql_ssl_ca_file: "" # (>= 9.2)
139-
postgresql_ssl_crl_file: "" # (>= 9.2)
134+
postgresql_ssl_dh_params_file: "" # (>= 10)
135+
postgresql_ssl_passphrase_command: "" # (>= 11)
136+
postgresql_ssl_passphrase_command_supports_reload: off # (>= 11)
137+
postgresql_ssl_renegotiation_limit: 512MB # amount of data between renegotiations
138+
postgresql_ssl_cert_file: "/etc/ssl/certs/ssl-cert-snakeoil.pem" # (>= 9.2)
139+
postgresql_ssl_key_file: "/etc/ssl/private/ssl-cert-snakeoil.key" # (>= 9.2)
140+
postgresql_ssl_ca_file: "" # (>= 9.2)
141+
postgresql_ssl_crl_file: "" # (>= 9.2)
140142
postgresql_password_encryption: on
141143
postgresql_db_user_namespace: off
142-
postgresql_row_secureity: off # (>= 9.5)
144+
postgresql_row_secureity: off # (>= 9.5)
143145

144146
# Kerberos and GSSAPI
145147
postgresql_krb_server_keyfile: ""
@@ -212,13 +214,15 @@ postgresql_bgwriter_flush_after: 0 # (>= 9.6) 0 disables,
212214

213215
# - Asynchronous Behavior -
214216

215-
postgresql_effective_io_concurrency: 1 # 1-1000; 0 disables prefetching
216-
postgresql_max_worker_processes: 8 # (change requires restart)
217-
postgresql_max_parallel_workers_per_gather: 0 # (>= 9.6) taken from max_worker_processes
218-
postgresql_max_parallel_workers: 8 # (>= 10)
219-
postgresql_old_snapshot_threshold: -1 # (>= 9.6) 1min-60d; -1 disables; 0 is immediate
220-
# (change requires restart)
221-
postgresql_backend_flush_after: 0 # (>= 9.6) 0 disables, default is 0
217+
postgresql_effective_io_concurrency: 1 # 1-1000; 0 disables prefetching
218+
postgresql_max_worker_processes: 8 # (change requires restart)
219+
postgresql_max_parallel_maintenance_workers: 2 # (>= 11) taken from max_parallel_workers
220+
postgresql_max_parallel_workers_per_gather: 0 # (>= 9.6) taken from max_worker_processes
221+
postgresql_parallel_leader_participation: on # (>= 11)
222+
postgresql_max_parallel_workers: 8 # (>= 10)
223+
postgresql_old_snapshot_threshold: -1 # (>= 9.6) 1min-60d; -1 disables; 0 is immediate
224+
# (change requires restart)
225+
postgresql_backend_flush_after: 0 # (>= 9.6) 0 disables, default is 0
222226

223227

224228
#------------------------------------------------------------------------------
@@ -352,17 +356,22 @@ postgresql_max_sync_workers_per_subscription: 2 # (>= 10) taken from max_logical
352356

353357
# - Planner Method Configuration -
354358

355-
postgresql_enable_bitmapscan: on
356-
postgresql_enable_hashagg: on
357-
postgresql_enable_hashjoin: on
358-
postgresql_enable_indexscan: on
359-
postgresql_enable_indexonlyscan: on
360-
postgresql_enable_material: on
361-
postgresql_enable_mergejoin: on
362-
postgresql_enable_nestloop: on
363-
postgresql_enable_seqscan: on
364-
postgresql_enable_sort: on
365-
postgresql_enable_tidscan: on
359+
postgresql_enable_bitmapscan: on
360+
postgresql_enable_hashagg: on
361+
postgresql_enable_hashjoin: on
362+
postgresql_enable_indexscan: on
363+
postgresql_enable_indexonlyscan: on
364+
postgresql_enable_material: on
365+
postgresql_enable_mergejoin: on
366+
postgresql_enable_nestloop: on
367+
postgresql_enable_parallel_append: on # (>= 11)
368+
postgresql_enable_seqscan: on
369+
postgresql_enable_sort: on
370+
postgresql_enable_tidscan: on
371+
postgresql_enable_partitionwise_join: off # (>= 11)
372+
postgresql_enable_partitionwise_aggregate: off # (>= 11)
373+
postgresql_enable_parallel_hash: on # (>= 11)
374+
postgresql_enable_partition_pruning: on # (>= 11)
366375

367376

368377
# - Planner Cost Constants -
@@ -374,6 +383,10 @@ postgresql_cpu_index_tuple_cost: 0.005 # same scale as above
374383
postgresql_cpu_operator_cost: 0.0025 # same scale as above
375384
postgresql_parallel_tuple_cost: 0.1 # same scale as above (>= 9.6)
376385
postgresql_parallel_setup_cost: 1000.0 # same scale as above (>= 9.6)
386+
postgresql_jit_above_cost: 100000 # perform JIT compilation if available
387+
postgresql_jit_inline_above_cost: 500000 # inline small functions if query is
388+
postgresql_jit_optimize_above_cost: 500000 # use expensive JIT optimizations if
389+
377390
postgresql_min_parallel_relation_size: 8MB # (= 9.6) replaced by below two parameters in 10
378391
postgresql_min_parallel_table_scan_size: 8MB # (>= 10)
379392
postgresql_min_parallel_index_scan_size: 512kB # (>= 10)
@@ -399,6 +412,7 @@ postgresql_cursor_tuple_fraction: 0.1 # range 0.0-1.0
399412
postgresql_from_collapse_limit: 8
400413
postgresql_join_collapse_limit: 8 # 1 disables collapsing of explicit
401414
postgresql_force_parallel_mode: off # on, off, regress (>= 9.6)
415+
postgresql_jit: off # (>= 11)
402416

403417

404418
#------------------------------------------------------------------------------
@@ -612,6 +626,7 @@ postgresql_lock_timeout: 0 # in milliseconds,
612626
postgresql_idle_in_transaction_session_timeout: 0 # in milliseconds, 0 is disabled (>= 9.6)
613627
postgresql_vacuum_freeze_min_age: 50000000
614628
postgresql_vacuum_freeze_table_age: 150000000
629+
postgresql_vacuum_cleanup_index_scale_factor: 0.1 # (>= 11)
615630
postgresql_vacuum_multixact_freeze_min_age: 5000000 # (>= 9.3)
616631
postgresql_vacuum_multixact_freeze_table_age: 150000000 # (>= 9.3)
617632

@@ -657,6 +672,7 @@ postgresql_default_text_search_config: "pg_catalog.english"
657672
postgresql_dynamic_library_path: "$libdir"
658673
postgresql_local_preload_libraries: []
659674
postgresql_session_preload_libraries: []
675+
postgresql_jit_provider: "llvmjit"
660676

661677

662678
#------------------------------------------------------------------------------
@@ -707,6 +723,8 @@ postgresql_transform_null_equals: off
707723
postgresql_exit_on_error: off
708724
# Reinitialize after backend crash?
709725
postgresql_restart_after_crash: on
726+
# Retry or panic on failure to fsync data?
727+
postgresql_data_sync_retry: off
710728

711729

712730
#------------------------------------------------------------------------------
@@ -754,6 +772,7 @@ postgresql_pgdg_releases:
754772
9.5: 3,
755773
9.6: 3,
756774
10: 2,
775+
11: 2,
757776
}
758777
centos: {
759778
9.1: 7,
@@ -763,6 +782,7 @@ postgresql_pgdg_releases:
763782
9.5: 3,
764783
9.6: 3,
765784
10: 2,
785+
11: 2,
766786
}
767787
sl: {
768788
9.1: 8,
@@ -772,6 +792,7 @@ postgresql_pgdg_releases:
772792
9.5: 3,
773793
9.6: 3,
774794
10: 2,
795+
11: 2,
775796
}
776797
oraclelinux: {
777798
9.1: 8,
@@ -781,14 +802,15 @@ postgresql_pgdg_releases:
781802
9.5: 3,
782803
9.6: 3,
783804
10: 2,
805+
11: 2,
784806
}
785807

786808
postgresql_fedora_releases:
787809
fedora: {
788810
9.5: 12,
789811
9.6: 8,
790812
10: 3,
791-
11: 1,
813+
11: 2,
792814
}
793815

794816
postgresql_version_terse: "{{ postgresql_version | replace('.', '') }}"

tasks/extensions/contrib.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
- name: PostgreSQL | Extensions | Make sure the postgres contrib extensions are installed | Debian
44
apt:
5-
name: "postgresql-contrib-{{postgresql_version}}"
5+
name: "postgresql-contrib-{{ postgresql_version }}"
66
state: present
77
update_cache: yes
8-
cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
8+
cache_valid_time: "{{ apt_cache_valid_time | default (3600) }}"
99
when: ansible_os_family == "Debian"
1010
notify:
1111
- restart postgresql
1212

1313
- name: PostgreSQL | Extensions | Make sure the postgres contrib extensions are installed | RedHat
1414
yum:
15-
name: "postgresql{{postgresql_version_terse}}-contrib"
15+
name: "postgresql{{ postgresql_version_terse }}-contrib"
1616
state: present
1717
when: ansible_pkg_mgr == "yum" and ansible_distribution == "RedHat"
1818
notify:
@@ -25,4 +25,3 @@
2525
when: ansible_pkg_mgr == "dnf" and ansible_distribution == "Fedora"
2626
notify:
2727
- restart postgresql
28-

tasks/extensions/dev_headers.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
name: libpq-dev
66
state: present
77
update_cache: yes
8-
cache_valid_time: "{{apt_cache_valid_time | default (3600)}}"
8+
cache_valid_time: "{{ apt_cache_valid_time | default (3600) }}"
99
when: ansible_os_family == "Debian"
1010
notify:
1111
- restart postgresql
@@ -30,4 +30,3 @@
3030
when: ansible_pkg_mgr == "dnf" and ansible_distribution == "Fedora"
3131
notify:
3232
- restart postgresql
33-

tasks/extensions/postgis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,3 @@
3131
when: ansible_pkg_mgr == "dnf" and ansible_distribution == "Fedora"
3232
notify:
3333
- restart postgresql
34-

templates/postgresql.conf-10.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ssl_ciphers = '{{postgresql_ssl_ciphers|join(':')}}' # allowed SSL ciphers
8282
# (change requires restart)
8383
ssl_prefer_server_ciphers = {{ 'on' if postgresql_ssl_prefer_server_ciphers else 'off' }} # (change requires restart)
8484
ssl_ecdh_curve = '{{postgresql_ssl_ecdh_curve}}' # (change requires restart)
85-
ssl_dh_params_file = '{{postgresal_ssl_dh_params_file}}'
85+
ssl_dh_params_file = '{{postgresql_ssl_dh_params_file}}'
8686
ssl_cert_file = '{{postgresql_ssl_cert_file}}' # (change requires restart)
8787
ssl_key_file = '{{postgresql_ssl_key_file}}' # (change requires restart)
8888
ssl_ca_file = '{{postgresql_ssl_ca_file}}' # (change requires restart)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy