[pgpool-general: 8741] Config files in RPM package

zam bak zam6ak at gmail.com
Fri Apr 14 23:55:24 JST 2023


Hi

I am migrating towards using packages in PgPool YUM repository instead
of using the PGDG repo (pgdg-common).

I have noticed that the RPM package in PgPool repo contains config
files (in addition to samples). I am used to having just .sample files
and then copying them and making changes.

# dnf repoquery --disablerepo="*" --enablerepo="pgpool44" -l
pgpool-II-pg14 | grep "/etc" | sort | uniq

Last metadata expiration check: 0:02:31 ago on Fri 14 Apr 2023 10:42:29 AM EDT.
/etc/pgpool-II/pcp.conf
/etc/pgpool-II/pcp.conf.sample
/etc/pgpool-II/pgpool.conf
/etc/pgpool-II/pgpool.conf.sample
/etc/pgpool-II/pgpool_node_id
/etc/pgpool-II/pool_hba.conf
/etc/pgpool-II/pool_hba.conf.sample
/etc/pgpool-II/pool_passwd
/etc/pgpool-II/sample_scripts/aws_eip_if_cmd.sh.sample
/etc/pgpool-II/sample_scripts/aws_rtb_if_cmd.sh.sample
/etc/pgpool-II/sample_scripts/escalation.sh.sample
/etc/pgpool-II/sample_scripts/failover.sh.sample
/etc/pgpool-II/sample_scripts/follow_primary.sh.sample
/etc/pgpool-II/sample_scripts/pgpool_remote_start.sample
/etc/pgpool-II/sample_scripts/recovery_1st_stage.sample
/etc/pgpool-II/sample_scripts/replication_mode_recovery_1st_stage.sample
/etc/pgpool-II/sample_scripts/replication_mode_recovery_2nd_stage.sample
/etc/sudoers.d/pgpool
/etc/sysconfig/pgpool



My question is this:

If I make changes to .conf files or pool_passwd and then
update/upgrade PgPool in the future. will my changes to these files
get lost (overwritten by new versions)?

Thanks
Z


More information about the pgpool-general mailing list