全文検索:
- 01 PostgreSQL streaming replica
- ostgresql-13.service ===== Dataディレクトリ変更 ===== <code> mkdir /data/ chown postgres:postgres /data/ chmo... /lib/pgsql/13/data/ ↓ Environment=PGDATA=/data/ </code> ==== 反映 ==== systemctl daemon-reload ===== ... /postgresql-13-setup initdb ===== PATH追加 ===== <code> cat << __EOM__ | tee /var/lib/pgsql/.pgsql_profi... H __EOM__ source /var/lib/pgsql/.pgsql_profile </code> ===== PGDATA変更 ===== <code> # vi /var/lib/pg