Using -c path/to/mbslave.conf and having MBSLAVE_CONFIG set to path/to/mbslave.conf (same path) don’t seem to behave identically (as I would have expected):
> echo 'UPDATE replication_control SET current_schema_sequence = 25;' | mbslave psql
psql: FATAL: no pg_hba.conf entry for host "[local]", user "freso", database "musicbrainz", SSL off
> echo 'UPDATE replication_control SET current_schema_sequence = 25;' | mbslave -c $XDG_CONFIG_HOME/mbdata/mbslave.conf psql
UPDATE 1
> echo $MBSLAVE_CONFIG
/home/freso/.config/mbdata/mbslave.conf
> pacman -Qi python-mbdata-git|grep Version
Version : 25.0.4.r0.g42461d8-1
Using
-c path/to/mbslave.conf
and havingMBSLAVE_CONFIG
set topath/to/mbslave.conf
(same path) don’t seem to behave identically (as I would have expected):