Skip to content

Commit

Permalink
adjust config template for v2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Aug 2, 2024
1 parent ed8f68f commit 02c5441
Show file tree
Hide file tree
Showing 11 changed files with 129 additions and 146 deletions.
3 changes: 1 addition & 2 deletions files/pigsty/debian12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ all:
#----------------------------------#
# PostgreSQL Packages & Extensions
#----------------------------------#
# check available alias mapping: roles/pgsql/vars/pg_packages_map.yml
# https://github.com/Vonng/pigsty/blob/master/roles/pgsql/vars/pg_package_map.yml
# available deb & alias: https://github.com/Vonng/pigsty/blob/master/roles/node_id/vars/deb.yml
pg_packages: # pg packages to be installed, alias can be used
- postgresql
- patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager wal2json pg_repack
Expand Down
5 changes: 2 additions & 3 deletions files/pigsty/el7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# File : el7.yml
# Desc : Pigsty auto generated config for el7 singleton
# Ctime : 2020-05-22
# Mtime : 2024-07-08
# Mtime : 2024-08-02
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
Expand Down Expand Up @@ -244,9 +244,8 @@ all:
#----------------------------------#
# PostgreSQL Packages & Extensions
#----------------------------------#
# available rpm & alias: https://github.com/Vonng/pigsty/blob/master/roles/node_id/vars/rpm.yml
pg_version: 15 # el7 is using postgresql 15 as the default major version (there's no pg16 support on el7)
# check available alias mapping: roles/pgsql/vars/pg_packages_map.yml
# https://github.com/Vonng/pigsty/blob/master/roles/pgsql/vars/pg_package_map.yml
pg_packages: # pg packages to be installed, alias can be used
- postgresql
- patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager wal2json pg_repack
Expand Down
5 changes: 2 additions & 3 deletions files/pigsty/el8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# File : el8.yml
# Desc : Pigsty auto generated config for el8
# Ctime : 2020-05-22
# Mtime : 2024-07-31
# Mtime : 2024-08-02
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
Expand Down Expand Up @@ -221,8 +221,7 @@ all:
#----------------------------------#
# PostgreSQL Packages & Extensions
#----------------------------------#
# check available alias mapping: roles/pgsql/vars/pg_packages_map.yml
# https://github.com/Vonng/pigsty/blob/master/roles/pgsql/vars/pg_package_map.yml
# available rpm & alias: https://github.com/Vonng/pigsty/blob/master/roles/node_id/vars/rpm.yml
pg_packages: # pg packages to be installed, alias can be used
- postgresql
- patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager wal2json pg_repack
Expand Down
5 changes: 2 additions & 3 deletions files/pigsty/el9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# File : el9.yml
# Desc : Pigsty auto generated config for el9
# Ctime : 2020-05-22
# Mtime : 2024-07-07
# Mtime : 2024-08-02
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
Expand Down Expand Up @@ -220,8 +220,7 @@ all:
#----------------------------------#
# PostgreSQL Packages & Extensions
#----------------------------------#
# check available alias mapping: roles/pgsql/vars/pg_packages_map.yml
# https://github.com/Vonng/pigsty/blob/master/roles/pgsql/vars/pg_package_map.yml
# available rpm & alias: https://github.com/Vonng/pigsty/blob/master/roles/node_id/vars/rpm.yml
pg_packages: # pg packages to be installed, alias can be used
- postgresql
- patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager wal2json pg_repack
Expand Down
43 changes: 23 additions & 20 deletions files/pigsty/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# File : full.yml
# Desc : pigsty demo config with full default values
# Ctime : 2020-05-22
# Mtime : 2024-07-05
# Mtime : 2024-08-02
# Docs : https://pigsty.io/docs/setup/config/
# Author : Ruohang Feng (rh@vonng.com)
# License : AGPLv3
Expand Down Expand Up @@ -130,19 +130,23 @@ all:

# install extensions here: # define HBA rules here: https://pigsty.io/docs/pgsql/extension/#install-extension
pg_libs: 'timescaledb, pg_stat_statements, auto_explain' # add timescaledb to shared_preload_libraries
pg_extensions: # extensions to be installed on this cluster
- postgis34_$v* timescaledb-2-postgresql-$v* pgvector_$v* # default extensions to be installed
#[ GIS & Timeseries ]# - timescaledb-2-postgresql-$v* postgis34_$v* pgrouting_$v* pointcloud_$v* h3-pg_$v* ip4r_$v* # geoip_$v*
#[ Vector Search RAG ]# - pgvector_$v* pgvectorscale_$v pg_vectorize_$v pg_tiktoken_$v pgml_$v pg_search_$v pg_bigm_$v* zhparser_$v*
#[ OLAP & Sharding ]# - hydra_$v* duckdb_fdw_$v* parquet_s3_fdw_$v* pg_lakehouse_$v pg_tier_$v pg_fkpart_$v* pg_partman_$v* # citus_$v* plproxy_$v* # pg_strom_$v*
#[ Featured & AM ]# - apache-age_$v* pg_graphql_$v pg_jsonschema_$v jsquery_$v* pg_hint_plan_$v* hypopg_$v* pg_ivm_$v* pgmq_$v pgq_$v* pgtt_$v* temporal_tables_$v* e-maj_$v* periods_$v* table_version_$v* pg_statement_rollback_$v* hll_$v* rum_$v
#[ Function & Test ]# - pgjwt_$v* pg_idkit_$v pg_uuidv7_$v* pg_later_$v pg_background_$v* pgsql_gzip_$v* pgsql_http_$v* pg_net_$v* pgsql_tweaks_$v* count_distinct_$v* extra_window_functions_$v* tdigest_$v* pg_extra_time_$v* topn_$v*
#[ FDW & Compatible ]# - wrappers_$v mongo_fdw_$v* mysql_fdw_$v* ogr_fdw_$v* sqlite_fdw_$v* tds_fdw_$v* hdfs_fdw_$v* pgbouncer_fdw_$v* orafce_$v* pgmemcache_$v* pg_dbms_lock_$v* pg_dbms_metadata_$v* # pg_dbms_job_$v* mysqlcompat_$v* # multicorn2_$v* oracle_fdw_$v* db2_fdw_$v*
#[ Type, PL, Test ]# - prefix_$v* timestamp9_$v* semver_$v* pgmp_$v* pguint_$v* pg_roaringbitmap_$v* md5hash_$v* pg_tle_$v* plv8_$v* pllua_$v* luapgsql plprql_$v pldebugger_$v* plpgsql_check_$v* plprofiler_$v* plsh_$v* # plr_$v* # postgresql_faker_$v* # dbt2-pg$v-extensions* # postgresql-unit_$v* pgtap_$v*
#[ Administration ]# - pg_cron_$v* pg_repack_$v* pg_squeeze_$v* pg_dirtyread_$v* pgdd_$v pgfincore_$v* pgl_ddl_deploy_$v* pg_prioritize_$v* pg_readonly_$v* pgagent_$v* pg_checksums_$v* safeupdate_$v* ddlx_$v* pg_permissions_$v* pg_auto_failover_$v* pg_catcheck_$v* pgxnclient pg_filedump # pgpool-II-pg$v-extensions
#[ Monitor & Stat ]# - pg_profile_$v* pg_show_plans_$v* pg_stat_kcache_$v* pg_stat_monitor_$v* pg_qualstats_$v* pg_statviz_extension_$v pg_store_plans_$v* pg_top_$v* pg_track_settings_$v* pg_wait_sampling_$v* system_stats_$v* bgw_replstatus_$v* powa-archivist_$v* powa_$v* pgmeminfo_$v* # pgexporter_ext_$v*
#[ Security & Audit ]# - passwordcheck_cracklib_$v* pgsodium_$v* vault_$v* postgresql_anonymizer_$v* pg_tde_$v* pgsmcrypto_$v pgaudit_$v* pgauditlogtofile_$v* pg_auth_mon_$v* credcheck_$v* pgcryptokey_$v* pg_jobmon_$v* logerrors_$v* login_hook_$v* set_user_$v*
#[ ETL, CDC, REPL ]# - pglogical_$v* postgres-decoderbufs_$v* wal2json_$v* pg_failover_slots_$v* pg_fact_loader_$v* pg_bulkload_$v* pg_comparator_$v* pgimportdoc_$v* pgexportdoc_$v* pgcopydb pgloader # repmgr_$v*
#pg_extensions: # extensions to be installed on this cluster
# - timescaledb periods temporal_tables emaj table_version pg_cron pg_later pg_background pg_timetable #[TIME]#
# - postgis pgrouting pointcloud pg_h3 q3c ogr_fdw geoip #[GIS]#
# - pgvector pgvectorscale pg_vectorize pg_similarity pg_tiktoken pgml #[RAG]#
# - pg_search pg_bigm zhparser hunspell #[FTS]#
# - hydra pg_lakehouse duckdb_fdw pg_fkpart pg_partman plproxy #citus pg_strom #[OLAP]#
# - age hll rum pg_graphql pg_jsonschema jsquery pg_hint_plan hypopg imgsmlr pg_ivm pgmq pgq #[FEAT]#
# - pg_tle plv8 pllua plprql pldebugger plpgsql_check plprofiler plsh pljava #plr faker pgtap #[LANG]#
# - prefix semver pgmp pguint pgunit roaringbitmap md5hash asn1oid numeral pg_rational ip4r pgsphere pgfaceting timestamp9 #[TYPE]# #[FUNC]# #[ADMIN]# #[STAT]# #[SEC]#
# - pg_gzip pg_http topn pg_net pgjwt shacrypt pgsql_tweaks pg_extra_time count_distinct extra_window_functions first_last_agg tdigest pgpcre icu_ext pg_idkit pg_hashids pg_uuidv7 permuteseq sequential_uuids
# - pg_repack pg_squeeze pg_dirtyread pgfincore pgdd ddlx pg_prioritize pg_checksums pg_readonly safeupdate pg_permissions pg_auto_failover preprepare pg_catcheck
# - pg_profile pg_show_plans pg_stat_kcache pg_stat_monitor pg_qualstats pg_store_plans pg_track_settings pg_wait_sampling system_stats bgw_replstatus pg_sqlog powa pgmeminfo toastinfo
# - passwordcheck supautils pgsodium pg_vault anonymizer pg_tde pgsmcrypto pgaudit pgauditlogtofile pg_auth_mon credcheck pgcryptokey pg_jobmon logerrors login_hook set_user tablelog pg_snakeoil pgextwlist
# - wrappers multicorn mongo_fdw mysql_fdw tds_fdw sqlite_fdw hdfs_fdw pgbouncer_fdw firebird_fdw #oracle_fdw db2_fdw #[FDW]#
# - mysqlcompat pgmemcache pgtt orafce pg_statement_rollback pg_dbms_lock pg_dbms_metadata #pg_dbms_job babelfish #[SIM]#
# - pglogical pgl_ddl_deploy decoderbufs wal2json wal2mongo pg_failover_slots mimeo pg_fact_loader pg_bulkload #repmgr slony #[ETL]#
# - gis-stack rag-stack fdw-stack fts-stack etl-stack feat-stack olap-stack supa-stack stat-stack json-stack #[STACK]# #[ Predefined Stacks ]#

# define HBA rules here: https://pigsty.io/docs/pgsql/hba/#define-hba
pg_hba_rules:
Expand Down Expand Up @@ -610,12 +614,11 @@ all:
pg_version: 16 # postgres major version to be installed, 16 by default
pg_bin_dir: /usr/pgsql/bin # postgres binary dir, `/usr/pgsql/bin` by default
pg_log_dir: /pg/log/postgres # postgres log dir, `/pg/log/postgres` by default
pg_packages: # pg packages to be installed, `${pg_version}` will be replaced
- postgresql${pg_version}*
- pgbouncer pg_exporter pgbadger vip-manager patroni patroni-etcd pgbackrest
- pg_repack_${pg_version}* wal2json_${pg_version}* passwordcheck_cracklib_${pg_version}* # important extensions
pg_extensions: # pg extensions to be installed, `${pg_version}` will be replaced
- postgis34_${pg_version}* timescaledb-2-postgresql-${pg_version}* pgvector_${pg_version}*
pg_packages: # pg packages to be installed, alias can be used
- postgresql # available rpm & alias: https://github.com/Vonng/pigsty/blob/master/roles/node_id/vars/rpm.yml
- patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager wal2json pg_repack
pg_extensions: # pg extensions to be installed, alias can be used
- postgis timescaledb pgvector

#-----------------------------------------------------------------
# PG_BOOTSTRAP
Expand Down
Loading

0 comments on commit 02c5441

Please sign in to comment.