在从库上执行命令:
pg_basebackup -D /home/pgdata -Fp -Xs -v -P -h 192.168.75.134 -U repuser -p 5432
出现某文件权限问题:
pg_basebackup: starting background WAL receiver
24/28038 kB (100%), 1/1 tablespace
pg_basebackup: could not get transaction log end position from server: ERROR: could not open file "./.pg_hba.conf.swp": Permission denied
各位大神怎么解决?